mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Easier banning of DC'd players. (#28032)
* Easier banning of DC'd players. * Make bans work on new players (still on start screen). * More accurate messaging
This commit is contained in:
@@ -61,8 +61,8 @@
|
||||
var/computerid
|
||||
var/ip
|
||||
|
||||
if(ismob(banned_mob) && banned_mob.ckey)
|
||||
ckey = banned_mob.ckey
|
||||
if(ismob(banned_mob) && banned_mob.last_known_ckey)
|
||||
ckey = banned_mob.last_known_ckey
|
||||
if(banned_mob.client)
|
||||
computerid = banned_mob.client.computer_id
|
||||
ip = banned_mob.client.address
|
||||
@@ -496,7 +496,7 @@
|
||||
output += "<option value='[j]'>[j]</option>"
|
||||
output += "</select></td></tr></table>"
|
||||
output += "<b>Reason:<br></b><textarea name='dbbanreason' cols='55' rows='10'></textarea><br>"
|
||||
output += "<input type='checkbox' value='1' name='autopopulate' checked='1'> Auto populate CID & IP for online players<br>"
|
||||
output += "<input type='checkbox' value='1' name='autopopulate' checked='1'> Auto populate CID & IP for players seen this round<br>"
|
||||
output += "<input type='submit' value='Add ban'>"
|
||||
output += "</form>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user