local playing bugfixes

This commit is contained in:
Max-Wilhelm Bruker
2010-08-11 04:23:12 +02:00
parent 00077565ab
commit 168d184e8f
21 changed files with 71 additions and 52 deletions

View File

@@ -36,9 +36,7 @@ void Server_ChatChannel::say(Server_ProtocolHandler *client, const QString &s)
void Server_ChatChannel::sendChatEvent(ChatEvent *event)
{
bool mayDelete = true;
for (int i = 0; i < size(); ++i)
mayDelete = at(i)->sendProtocolItem(event, false);
if (mayDelete)
delete event;
at(i)->sendProtocolItem(event, false);
delete event;
}