mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Small correction
This commit is contained in:
@@ -371,13 +371,13 @@ datum/admins/proc/DB_ban_unban_by_id(var/id)
|
|||||||
if(playercid)
|
if(playercid)
|
||||||
cidsearch = "AND computerid = '[playercid]' "
|
cidsearch = "AND computerid = '[playercid]' "
|
||||||
else
|
else
|
||||||
if(adminckey && lentext(adminckey) > 3)
|
if(adminckey && lentext(adminckey) >= 3)
|
||||||
adminsearch = "AND a_ckey LIKE '[adminckey]%' "
|
adminsearch = "AND a_ckey LIKE '[adminckey]%' "
|
||||||
if(playerckey && lentext(playerckey) > 3)
|
if(playerckey && lentext(playerckey) >= 3)
|
||||||
playersearch = "AND ckey LIKE '[playerckey]%' "
|
playersearch = "AND ckey LIKE '[playerckey]%' "
|
||||||
if(playerip && lentext(playerip) > 3)
|
if(playerip && lentext(playerip) >= 3)
|
||||||
ipsearch = "AND ip LIKE '[playerip]%' "
|
ipsearch = "AND ip LIKE '[playerip]%' "
|
||||||
if(playercid && lentext(playercid) > 7)
|
if(playercid && lentext(playercid) >= 7)
|
||||||
cidsearch = "AND computerid LIKE '[playercid]%' "
|
cidsearch = "AND computerid LIKE '[playercid]%' "
|
||||||
|
|
||||||
if(dbbantype)
|
if(dbbantype)
|
||||||
|
|||||||
Reference in New Issue
Block a user