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 394c770d7..a692eae27 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -129,7 +129,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->nick.c_str());
+ user->WriteNotice("*** You may not join normally. You must join with a key of 'override' to oper override.");
return MOD_RES_PASSTHRU;
}
@@ -145,7 +145,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->nick.c_str());
+ user->WriteNotice("*** You may not join normally. You must join with a key of 'override' to oper override.");
return MOD_RES_PASSTHRU;
}
@@ -160,7 +160,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->nick.c_str());
+ user->WriteNotice("*** You may not join normally. You must join with a key of 'override' to oper override.");
return MOD_RES_PASSTHRU;
}
@@ -175,7 +175,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->nick.c_str());
+ user->WriteNotice("*** You may not join normally. You must join with a key of 'override' to oper override.");
return MOD_RES_PASSTHRU;
}