summaryrefslogtreecommitdiff
path: root/src/modules/m_override.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r--src/modules/m_override.cpp8
1 files 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;
}