]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_k.h
Add potential for local-only snotices and use them for the ones that should be local...
[user/henk/code/inspircd.git] / include / modes / cmode_k.h
index dce0550fe8aabc8e6787f4260a818e366f1a610e..c06c0c007d4b67e56066df9726abbb5fd3d7be23 100644 (file)
@@ -24,6 +24,6 @@ class ModeChannelKey : public ModeHandler
        ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode);
        ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
        bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, Channel* channel);
-       void RemoveMode(Channel* channel);
-       void RemoveMode(User* user);
+       void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);
+       void RemoveMode(User* user, irc::modestacker* stack = NULL);
 };