Implementing packet validation for new packets and client side game removal for admin players.

This commit is contained in:
lotodore
2013-02-24 23:04:02 +01:00
parent 8740c3fb7a
commit 19f27a890c
9 changed files with 54 additions and 4 deletions
@@ -2202,8 +2202,8 @@ void gameLobbyDialogImpl::adminActionCloseGame()
int ret = MyMessageBox::question(this, tr("PokerTH - Question"),
tr("Are you sure you want to close the game:\n\"%1\"?").arg(QString::fromUtf8(info.name.c_str())), QMessageBox::Yes | QMessageBox::No);
if(ret == QMessageBox::Yes) {
//TODO mySession->adminActionCloseGame(gameId);
if (ret == QMessageBox::Yes) {
mySession->adminActionCloseGame(gameId);
}
}
}