]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix format fuckup I introduced (that warning shows one example of when it's useful...
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 17 Apr 2008 13:41:16 +0000 (13:41 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 17 Apr 2008 13:41:16 +0000 (13:41 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9529 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_override.cpp

index a879515f2b63f39ccf53464111fbe9aa598f3a6d..8fb9f8b9f001ad64f6eb579270c225d3361a3a88 100644 (file)
@@ -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;
                                                }