]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_b.h
Add a metric assload of TRANSLATE macros to modules.
[user/henk/code/inspircd.git] / include / modes / cmode_b.h
index e17a6909a6e6d3cd24a89db47aad3e878b083da3..417480777d0b95a54f2cd1a03f97e4333f8eaa21 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 +b
+ */
 class ModeChannelBan : public ModeHandler
 {
  private:
@@ -13,6 +28,9 @@ class ModeChannelBan : public ModeHandler
        std::string& AddBan(userrec *user,std::string& dest,chanrec *chan,int status);
        std::string& DelBan(userrec *user,std::string& dest,chanrec *chan,int status);
        void DisplayList(userrec* user, chanrec* channel);
+       void DisplayEmptyList(userrec* user, chanrec* channel);
        ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string &parameter);
+       void RemoveMode(userrec* user);
+       void RemoveMode(chanrec* channel);
 };