X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_denychans.cpp;h=3a9df37a252e66d3b0fdccf67e8e3c84e7d4dbca;hb=819147178db00008a215670992d0f532dd57f9e5;hp=a016141083e755323d566b05fc618ccf0c64b7b0;hpb=8de87c2a9b5f5e68caac1ca06b1021ed69cb3d6a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp index a01614108..3a9df37a2 100644 --- a/src/modules/m_denychans.cpp +++ b/src/modules/m_denychans.cpp @@ -2,8 +2,8 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2008 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. @@ -31,7 +31,7 @@ class ModuleDenyChannels : public Module ServerInstance->Modules->Attach(eventlist, this, 2); } - virtual void OnRehash(User* user, const std::string ¶m) + virtual void OnRehash(User* user) { delete Conf; Conf = new ConfigReader(ServerInstance); @@ -47,7 +47,7 @@ class ModuleDenyChannels : public Module if (!ServerInstance->IsChannel(redirect.c_str(), ServerInstance->Config->Limits.ChanMax)) { if (user) - user->WriteServ("Notice %s :Invalid badchan redirect '%s'", user->nick.c_str(), redirect.c_str()); + user->WriteServ("NOTICE %s :Invalid badchan redirect '%s'", user->nick.c_str(), redirect.c_str()); throw ModuleException("Invalid badchan redirect, not a channel"); }