]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_k.h
Wheee, mass commit! this adds const stafety, throwing a compile error if anyone does...
[user/henk/code/inspircd.git] / include / modes / cmode_k.h
index 19572ffcd441cb64f2158b2734a4640457ef9f68..dce0550fe8aabc8e6787f4260a818e366f1a610e 100644 (file)
@@ -21,7 +21,7 @@ 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);