]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_k.h
Fix broken stuff.
[user/henk/code/inspircd.git] / include / modes / cmode_k.h
index 19572ffcd441cb64f2158b2734a4640457ef9f68..c06c0c007d4b67e56066df9726abbb5fd3d7be23 100644 (file)
@@ -21,9 +21,9 @@ class ModeChannelKey : public ModeHandler
 {
  public:
        ModeChannelKey(InspIRCd* Instance);
-       ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
+       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);
 };