Fix bug on global ban check

This commit is contained in:
Jackz 2022-07-11 23:00:53 -05:00
parent de85c3321b
commit 9a4dfb400f
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -241,7 +241,7 @@ public void DB_OnConnectCheck(Database db, DBResultSet results, const char[] err
public_message = reason;
}
int id = results.FetchInt(6);
int id = results.FetchInt(5);
if(hKickType.IntValue > 0) {
if(public_message[0] != '\0')