Flag check

This commit is contained in:
SoundScopes
2015-06-11 04:56:57 +01:00
parent 3cc248dc58
commit 53878f2bcc
+1 -1
View File
@@ -164,7 +164,7 @@ world/IsBanned(key,address,computer_id)
if(!toban)
toban = 1
if(banFlag)
if(banFlag & (KEYBAN|IDBAN|IPBAN))
Adminbot.DB_ban_record(1, null, null, multireason, null, null, ckey(key), 1, address, computer_id)
notes_add_sql(key, newreason, null, address, computer_id)