mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-15 21:49:02 -04:00
Optimized a little
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3296 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
bbbf55dfca
commit
4d057b65c4
@ -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);
|
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();
|
amount_sent += counter + 4 + Srv->GetServerName().length();
|
||||||
log(DEBUG,"m_safelist.so: Sent %ld of safe %ld / 2",amount_sent,u->sendqmax);
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user