summaryrefslogtreecommitdiff
path: root/include/modes/cmode_k.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes/cmode_k.h')
-rw-r--r--include/modes/cmode_k.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/modes/cmode_k.h b/include/modes/cmode_k.h
index 51e8ffcaa..c8a1fc20e 100644
--- a/include/modes/cmode_k.h
+++ b/include/modes/cmode_k.h
@@ -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);
};