X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_uhnames.cpp;h=30508fab23787acd845e074625b4206277f6b2e8;hb=cb4c516ace8fef75b8a54a141c3644af9697ac0a;hp=f9ede6c12ecb8d8ccbb728918c543781aeda2cea;hpb=7e843c22e16c81054bad18073d24fe1a07026431;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp index f9ede6c12..30508fab2 100644 --- a/src/modules/m_uhnames.cpp +++ b/src/modules/m_uhnames.cpp @@ -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 @@ -33,7 +33,7 @@ class ModuleUHNames : public Module Version GetVersion() { - return Version("Provides the UHNAMES facility.",VF_VENDOR,API_VERSION); + return Version("Provides the UHNAMES facility.",VF_VENDOR); } void On005Numeric(std::string &output) @@ -41,7 +41,7 @@ class ModuleUHNames : public Module output.append(" UHNAMES"); } - ModResult OnPreCommand(std::string &command, std::vector ¶meters, User *user, bool validated, const std::string &original_line) + ModResult OnPreCommand(std::string &command, std::vector ¶meters, 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,