summaryrefslogtreecommitdiff
path: root/include/modes/cmode_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes/cmode_i.h')
-rw-r--r--include/modes/cmode_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modes/cmode_i.h b/include/modes/cmode_i.h
index 5c83afb18..a59131ac5 100644
--- a/include/modes/cmode_i.h
+++ b/include/modes/cmode_i.h
@@ -17,9 +17,9 @@ class InspIRCd;
/** Channel mode +i
*/
-class ModeChannelInviteOnly : public ModeHandler
+class ModeChannelInviteOnly : public SimpleChannelModeHandler
{
public:
ModeChannelInviteOnly(InspIRCd* Instance);
- ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode);
};
+