curr->OnDataReady();
}
- if (curr->getSendQSize() == 0)
- {
- FOREACH_MOD(I_OnBufferFlushed,OnBufferFlushed(curr));
- }
-
switch (curr->registered)
{
case REG_ALL:
continue;
}
- curr->Write("PING :%s",this->Config->ServerName);
+ curr->Write("PING :%s",this->Config->ServerName.c_str());
curr->lastping = 0;
curr->nping = TIME +curr->MyClass->GetPingTime();
}