summaryrefslogtreecommitdiff
path: root/src/modules/m_saquit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_saquit.cpp')
-rw-r--r--src/modules/m_saquit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp
index 88b840b34..30bae5c0e 100644
--- a/src/modules/m_saquit.cpp
+++ b/src/modules/m_saquit.cpp
@@ -56,7 +56,7 @@ class CommandSaquit : public Command
}
else
{
- user->WriteServ("NOTICE %s :*** Invalid nickname '%s'", user->nick.c_str(), parameters[0].c_str());
+ user->WriteNotice("*** Invalid nickname '" + parameters[0] + "'");
return CMD_FAILURE;
}
}