]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_b.h
Add server ports to ServerInstance->ports, enable SSL on them using OnHookIO
[user/henk/code/inspircd.git] / include / modes / cmode_b.h
index c7d349541971f62ed2a78f5e71315ff66cf7ece2..0fdbaee3bd5fca44f6f32692d25e74e07721ce55 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -23,14 +23,14 @@ class ModeChannelBan : public ModeHandler
  private:
        BanItem b;
  public:
-       ModeChannelBan(InspIRCd* Instance);
+       ModeChannelBan();
        ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
        std::string& AddBan(User *user,std::string& dest,Channel *chan,int status);
        std::string& DelBan(User *user,std::string& dest,Channel *chan,int status);
        void DisplayList(User* user, Channel* channel);
        void DisplayEmptyList(User* user, Channel* channel);
        ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
-       void RemoveMode(User* user);
-       void RemoveMode(Channel* channel);
+       void RemoveMode(User* user, irc::modestacker* stack = NULL);
+       void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);
 };