X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodes%2Fcmode_l.h;h=e1435dc6223f298f3e1311ddccf1afa8e89d12e6;hb=8c2d96013084de950e3a63be4ae6ed626c4093ab;hp=49228479fe1e1d2048d259c502160d5b051ea8c7;hpb=bab14f0dd2345c9d7dcbc47c918563709e1ac094;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modes/cmode_l.h b/include/modes/cmode_l.h index 49228479f..e1435dc62 100644 --- a/include/modes/cmode_l.h +++ b/include/modes/cmode_l.h @@ -1 +1,27 @@ -/* +------------------------------------+ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * * InspIRCd: (C) 2002-2007 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see * the file COPYING for details. * * --------------------------------------------------- */ #include "mode.h" class InspIRCd; /** Channel mode +l */ class ModeChannelLimit : public ModeHandler { public: 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); }; \ No newline at end of file +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * InspIRCd: (C) 2002-2008 InspIRCd Development Team + * See: http://www.inspircd.org/wiki/index.php/Credits + * + * This program is free but copyrighted software; see + * the file COPYING for details. + * + * --------------------------------------------------- + */ + +#include "mode.h" + +class InspIRCd; + +/** Channel mode +l + */ +class ModeChannelLimit : public ModeHandler +{ + public: + ModeChannelLimit(InspIRCd* Instance); + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode); + ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter); + bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, Channel* channel); +};