X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodes%2Fcmode_l.h;h=d83c4f1cf4ae411fef220b354610a8960752c263;hb=e4a590c7926b4b9454093f88b2d4d1616b717df2;hp=06d53069a69cf6c9bca908e6f08de3a7cdf6cfc7;hpb=b57c7f4e466f72fdd2ac3deca42caa1ea7748338;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modes/cmode_l.h b/include/modes/cmode_l.h index 06d53069a..d83c4f1cf 100644 --- a/include/modes/cmode_l.h +++ b/include/modes/cmode_l.h @@ -2,8 +2,8 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2007 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * InspIRCd: (C) 2002-2009 InspIRCd Development Team + * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. @@ -20,8 +20,8 @@ class InspIRCd; class ModeChannelLimit : public ModeHandler { public: - ModeChannelLimit(InspIRCd* Instance); + ModeChannelLimit(); ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding); 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); + bool ResolveModeConflict(std::string &their_param, const std::string &our_param, Channel* channel); };