summaryrefslogtreecommitdiff
path: root/src/modules/m_securelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_securelist.cpp')
-rw-r--r--src/modules/m_securelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_securelist.cpp b/src/modules/m_securelist.cpp
index 382968355..25b5bdaa1 100644
--- a/src/modules/m_securelist.cpp
+++ b/src/modules/m_securelist.cpp
@@ -71,7 +71,7 @@ class ModuleSecureList : public Module
return MOD_RES_PASSTHRU;
/* Not exempt, BOOK EM DANNO! */
- user->WriteServ("NOTICE %s :*** You cannot list within the first %lu seconds of connecting. Please try again later.",user->nick.c_str(), (unsigned long) WaitTime);
+ user->WriteNotice("*** You cannot list within the first " + ConvToStr(WaitTime) + " seconds of connecting. Please try again later.");
/* Some crap clients (read: mIRC, various java chat applets) muck up if they don't
* receive these numerics whenever they send LIST, so give them an empty LIST to mull over.
*/