]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_m.h
Don't query module version prior to init; fixes valgrind segfault
[user/henk/code/inspircd.git] / include / modes / cmode_m.h
index fcc94982566a7b9f2b9d3bfb6262582682a00322..bca29bbe5f7864fe3cd589fc13024c3c9bafd0e3 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-2010 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -17,9 +17,8 @@ class InspIRCd;
 
 /** Channel mode +m
  */
-class ModeChannelModerated : public ModeHandler
+class ModeChannelModerated : public SimpleChannelModeHandler
 {
  public:
-       ModeChannelModerated(InspIRCd* Instance);
-       ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
+       ModeChannelModerated();
 };