From 3cc11c99b9ec3437abd998d3b9a9dded0496f66d Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 17 Apr 2008 13:41:16 +0000 Subject: [PATCH] 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 --- src/modules/m_override.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } -- 2.39.2