/*
* loop over all local users..
*/
- std::vector<User*>::reverse_iterator count2 = this->Users->local_users.rbegin();
+ std::vector<LocalUser*>::reverse_iterator count2 = this->Users->local_users.rbegin();
while (count2 != this->Users->local_users.rend())
{
- User *curr = *count2;
+ LocalUser *curr = *count2;
count2++;
if (curr->quitting)
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();
}