]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_namesx.cpp
Fix left/right inversion in ListDifference
[user/henk/code/inspircd.git] / src / modules / m_namesx.cpp
index 7614cdc7642b85ccb04045bec4730c746ef3a1e6..ec117e095d8265886d9df9f42fcc6e7459804da7 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -41,7 +41,7 @@ class ModuleNamesX : public Module
                output.append(" NAMESX");
        }
 
-       ModResult OnPreCommand(std::string &command, std::vector<std::string> &parameters, User *user, bool validated, const std::string &original_line)
+       ModResult OnPreCommand(std::string &command, std::vector<std::string> &parameters, LocalUser *user, bool validated, const std::string &original_line)
        {
                irc::string c = command.c_str();
                /* We don't actually create a proper command handler class for PROTOCTL,
@@ -72,7 +72,7 @@ class ModuleNamesX : public Module
                prefixes = memb->chan->GetAllPrefixChars(memb->user);
        }
 
-       void OnEvent(Event *ev)
+       void OnEvent(Eventev)
        {
                cap.HandleEvent(ev);
        }