summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-22 23:16:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-22 23:16:20 +0000
commit4d057b65c47b72358c058a8c54e7cd0b80bb62ec (patch)
treecd63bf5282e742a47edf9ab53811a800432f428a /src
parentbbbf55dfcadf02784dced07c5b5c72581dff66a2 (diff)
Optimized a little
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3296 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_safelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp
index 68534fb22..641fd7559 100644
--- a/src/modules/m_safelist.cpp
+++ b/src/modules/m_safelist.cpp
@@ -129,7 +129,7 @@ class ModuleSafeList : public Module
int counter = snprintf(buffer,MAXBUF,"322 %s %s %d :[+%s] %s",u->nick,chan->name,usercount_i(chan),chanmodes(chan,has_channel(u,chan)),chan->topic);
amount_sent += counter + 4 + Srv->GetServerName().length();
log(DEBUG,"m_safelist.so: Sent %ld of safe %ld / 2",amount_sent,u->sendqmax);
- WriteServ(u->fd,"%s",buffer);
+ WriteServ_NoFormat(u->fd,buffer);
}
else
{