]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/umode_i.h
Add counter system for umodes to get rid of some O(n)
[user/henk/code/inspircd.git] / include / modes / umode_i.h
index 334222c51554d735ab679d0480cfc0d2bafa7768..cc7d15102b104dca573dbbf4e7d54ff8efb319ad 100644 (file)
@@ -1,3 +1,16 @@
+/*       +------------------------------------+
+ *       | 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;
@@ -9,4 +22,5 @@ class ModeUserInvisible : public ModeHandler
  public:
        ModeUserInvisible(InspIRCd* Instance);
        ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+       unsigned int GetCount();
 };