X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodes%2Fcmode_l.h;h=e987ffda43f6c2720ca5d0a43b69f8cb8fe3e506;hb=ff5376b7b682c98c1857c58696db5f8ed4d39b18;hp=d13bd04599204e43acb52324669e56e67837e287;hpb=4260fd62272dbd0de84f51bedbd5dd4a088afb1a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modes/cmode_l.h b/include/modes/cmode_l.h index d13bd0459..e987ffda4 100644 --- a/include/modes/cmode_l.h +++ b/include/modes/cmode_l.h @@ -1,8 +1,14 @@ #include "mode.h" +class InspIRCd; + +/** Channel mode +l + */ class ModeChannelLimit : public ModeHandler { public: - ModeChannelLimit(); + ModeChannelLimit(InspIRCd* Instance); ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); + ModePair 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); };