diff options
Diffstat (limited to 'include/modes')
-rw-r--r-- | include/modes/cmode_k.h | 1 | ||||
-rw-r--r-- | include/modes/cmode_l.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/modes/cmode_k.h b/include/modes/cmode_k.h index bcb67b945..94a317df0 100644 --- a/include/modes/cmode_k.h +++ b/include/modes/cmode_k.h @@ -6,4 +6,5 @@ class ModeChannelKey : public ModeHandler ModeChannelKey(); ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); std::pair<bool,std::string> ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); + bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel); }; diff --git a/include/modes/cmode_l.h b/include/modes/cmode_l.h index 3eb332c7f..886ece324 100644 --- a/include/modes/cmode_l.h +++ b/include/modes/cmode_l.h @@ -6,4 +6,5 @@ class ModeChannelLimit : public ModeHandler ModeChannelLimit(); ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); std::pair<bool,std::string> ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); + bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel); }; |