added debug stuff

This commit is contained in:
Max-Wilhelm Bruker
2011-07-05 01:49:15 +02:00
parent fd171fa260
commit c4a2229ae4
4 changed files with 6 additions and 3 deletions

View File

@@ -494,7 +494,7 @@ ResponseCode ServerSocketInterface::cmdBanFromServer(Command_BanFromServer *cmd,
query.bindValue(":id_user", getUserIdInDB(userName));
query.bindValue(":id_admin", getUserIdInDB(userInfo->getName()));
query.bindValue(":minutes", minutes);
query.bindValue(":reason", cmd->getReason());
query.bindValue(":reason", cmd->getReason() + "\n");
servatrice->execSqlQuery(query);
} else {
// Unregistered users must be banned by IP address.