and fix a ton more minor performance issues

This commit is contained in:
DarthArgus
2014-10-27 22:39:57 -07:00
parent 14eaf713d0
commit c9c39d5713
97 changed files with 266 additions and 376 deletions
@@ -2126,7 +2126,7 @@ void ChatAPICore::responseCallback(short type, ByteStream::ReadIterator &iter)
}
ChatAvatarCore *removedAvatar = destRoomCore->removeAvatar(destAvatar->getAvatarID());
if (removedAvatar) delete removedAvatar;
delete removedAvatar;
m_api->OnReceiveAddBanRoom(srcAvatar, destAvatar, destRoom);