summaryrefslogtreecommitdiff
path: root/src/modules/m_securelist.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 00:19:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 00:19:34 +0000
commit8cb8131110c194b4c10a64215dd6a4c5e54d2bc9 (patch)
tree3e85748a6b8f570cd07b408b59e2e036a664860d /src/modules/m_securelist.cpp
parent77bb8528a69735ba59e0cd1ac2801063343a6187 (diff)
Commit these
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9757 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_securelist.cpp')
-rw-r--r--src/modules/m_securelist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_securelist.cpp b/src/modules/m_securelist.cpp
index 1f9ac15e9..b86a35b7f 100644
--- a/src/modules/m_securelist.cpp
+++ b/src/modules/m_securelist.cpp
@@ -68,12 +68,12 @@ class ModuleSecureList : public Module
return 0;
/* 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, (unsigned long) WaitTime);
+ 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);
/* 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.
*/
- user->WriteNumeric(321, "%s Channel :Users Name",user->nick);
- user->WriteNumeric(323, "%s :End of channel list.",user->nick);
+ user->WriteNumeric(321, "%s Channel :Users Name",user->nick.c_str());
+ user->WriteNumeric(323, "%s :End of channel list.",user->nick.c_str());
return 1;
}
return 0;