Fix room chat history (#2698)

Looks like an addition to the table shifted things.  We probably  should look into some how use the actual column names (if it can be done).  But for now this should fix the server room chat history.
This commit is contained in:
woogerboy21 2017-05-09 23:22:48 -04:00 committed by GitHub
parent d347e54526
commit 1811bad835

View file

@ -297,7 +297,7 @@ bool Servatrice::initServer()
while (query2->next())
gameTypes.append(query2->value(0).toString());
addRoom(new Server_Room(query->value(0).toInt(),
query->value(6).toInt(),
query->value(7).toInt(),
query->value(1).toString(),
query->value(2).toString(),
query->value(3).toString().toLower(),
@ -909,4 +909,4 @@ bool Servatrice::getEnableRegistrationAudit() const {
bool Servatrice::getEnableForgotPasswordAudit() const {
return settingsCache->value("audit/enable_forgotpassword_audit", true).toBool();
}
}