summaryrefslogtreecommitdiff
path: root/src/modules/m_close.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 00:29:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 00:29:53 +0000
commite3bd782207f50d131acd008b0cbcc7545aac7690 (patch)
treebf302dd6406597a08d8b57bdbbfc1c237580757d /src/modules/m_close.cpp
parent89a8dff5f6853794364bc06ec04d05c6d988e4e2 (diff)
More done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9759 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_close.cpp')
-rw-r--r--src/modules/m_close.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_close.cpp b/src/modules/m_close.cpp
index fb4b03682..016bfe269 100644
--- a/src/modules/m_close.cpp
+++ b/src/modules/m_close.cpp
@@ -41,13 +41,13 @@ class CommandClose : public Command
int total = 0;
for (std::map<std::string,int>::iterator ci = closed.begin(); ci != closed.end(); ci++)
{
- user->WriteServ("NOTICE %s :*** Closed %d unknown connection%s from [%s]",user->nick,(*ci).second,((*ci).second>1)?"s":"",(*ci).first.c_str());
+ user->WriteServ("NOTICE %s :*** Closed %d unknown connection%s from [%s]",user->nick.c_str(),(*ci).second,((*ci).second>1)?"s":"",(*ci).first.c_str());
total += (*ci).second;
}
if (total)
- user->WriteServ("NOTICE %s :*** %i unknown connection%s closed",user->nick,total,(total>1)?"s":"");
+ user->WriteServ("NOTICE %s :*** %i unknown connection%s closed",user->nick.c_str(),total,(total>1)?"s":"");
else
- user->WriteServ("NOTICE %s :*** No unknown connections found",user->nick);
+ user->WriteServ("NOTICE %s :*** No unknown connections found",user->nick.c_str());
return CMD_LOCALONLY;
}