]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_v.h
Remove InspIRCd* parameters and fields
[user/henk/code/inspircd.git] / include / modes / cmode_v.h
index e6666311d0e78a19eac3716bc7f94200aa0cfbc5..77e8562f293f2e597b2ea25b1c394aed24e6abaf 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.
@@ -22,13 +22,11 @@ class ModeChannelVoice : public ModeHandler
 {
  private:
  public:
-       ModeChannelVoice(InspIRCd* Instance);
+       ModeChannelVoice();
        ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
-       std::string AddVoice(User *user,const char *dest,Channel *chan,int status);
-       std::string DelVoice(User *user,const char *dest,Channel *chan,int status);
        ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);
        unsigned int GetPrefixRank();
-       void RemoveMode(User* user);
-       void RemoveMode(Channel* channel);
+       void RemoveMode(User* user, irc::modestacker* stack = NULL);
+       void RemoveMode(Channel* channel, irc::modestacker* stack = NULL);
 };