]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_l.h
Fix valgrind issues and crashes on exit
[user/henk/code/inspircd.git] / include / modes / cmode_l.h
index e1435dc6223f298f3e1311ddccf1afa8e89d12e6..d83c4f1cf4ae411fef220b354610a8960752c263 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 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);
-       ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode);
+       ModeChannelLimit();
+       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);
+       bool ResolveModeConflict(std::string &their_param, const std::string &our_param, Channel* channel);
 };