]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_k.h
Implement <options:prefixpart|suffixpart|fixedpart>
[user/henk/code/inspircd.git] / include / modes / cmode_k.h
index 51e8ffcaa00fb6d92dff8c45689f6a594de388d9..c8a1fc20e03512d64ccc0e3f64ee3ee483be286a 100644 (file)
@@ -21,9 +21,9 @@ class ModeChannelKey : public ModeHandler
 {
  public:
        ModeChannelKey(InspIRCd* Instance);
-       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
-       ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string &parameter);
-       bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel);
-       void RemoveMode(chanrec* channel);
-       void RemoveMode(userrec* user);
+       ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
+       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);
 };