From: w00t Date: Thu, 17 Apr 2008 13:41:16 +0000 (+0000) Subject: Fix format fuckup I introduced (that warning shows one example of when it's useful... X-Git-Tag: v2.0.23~3326 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=3cc11c99b9ec3437abd998d3b9a9dded0496f66d;p=user%2Fhenk%2Fcode%2Finspircd.git Fix format fuckup I introduced (that warning shows one example of when it's useful here) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9529 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index a879515f2..8fb9f8b9f 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -242,7 +242,7 @@ class ModuleOverride : public Module if (RequireKey && keygiven != "override") { // Can't join normally -- must use a special key to bypass restrictions - user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper-override."); + user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper-override.", user->nick); return 1; } @@ -258,7 +258,7 @@ class ModuleOverride : public Module if (RequireKey && keygiven != "override") { // Can't join normally -- must use a special key to bypass restrictions - user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper-override."); + user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper-override.", user->nick); return 1; } @@ -273,7 +273,7 @@ class ModuleOverride : public Module if (RequireKey && keygiven != "override") { // Can't join normally -- must use a special key to bypass restrictions - user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper-override."); + user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper-override.", user->nick); return 1; } @@ -290,7 +290,7 @@ class ModuleOverride : public Module if (RequireKey && keygiven != "override") { // Can't join normally -- must use a special key to bypass restrictions - user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper-override."); + user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper-override.", user->nick); return 1; }