]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/umode_w.h
Add counter system for umodes to get rid of some O(n)
[user/henk/code/inspircd.git] / include / modes / umode_w.h
index e92d1ece2f965c3e22446999cc03bad346851338..271e959c4a2522f5c51e88eb5b2e6dc16ca35a97 100644 (file)
@@ -1,8 +1,26 @@
+/*       +------------------------------------+
+ *       | 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;
+
+/** User mode +w
+ */
 class ModeUserWallops : public ModeHandler
 {
  public:
-       ModeUserWallops();
+       ModeUserWallops(InspIRCd* Instance);
        ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+       unsigned int GetCount();
 };