]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_o.h
Add a metric assload of TRANSLATE macros to modules.
[user/henk/code/inspircd.git] / include / modes / cmode_o.h
index 25b03a7867d42d282122d50177f35de240916c2d..c86fb4586d4c66e98c64328aa4d2a8c389719452 100644 (file)
@@ -1,8 +1,23 @@
+/*       +------------------------------------+
+ *       | 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"
 #include "channels.h"
 
 class InspIRCd;
 
+/** Channel mode +o
+ */
 class ModeChannelOp : public ModeHandler
 {
  private:
@@ -12,5 +27,8 @@ class ModeChannelOp : public ModeHandler
        std::string AddOp(userrec *user,const char *dest,chanrec *chan,int status);
        std::string DelOp(userrec *user,const char *dest,chanrec *chan,int status);
        ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string &parameter);
+       unsigned int GetPrefixRank();
+       void RemoveMode(chanrec* channel);
+       void RemoveMode(userrec* user);
 };