Fixes Issue 441 (it was a typo)

Fixes Issue 424 (it was some code in turrets.dm which was setting all the turret controls in the lobby area to off...for no raisin.)
Admins can now PM people in the lobby
Admin-PM verb now uses clients instead of mobs
Removed a vulnerability in the PM system that allowed unauthorised access to a select few admin-tools.
Text changes in examine verbs for monkeys and humans (typos)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3366 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-03-28 10:06:32 +00:00
parent 4c7d775593
commit 38a9e343a6
7 changed files with 108 additions and 82 deletions
@@ -187,7 +187,7 @@
foundghost++
break
if(!foundghost)
msg += "and [t_his] soul has departed"
msg += " and [t_his] soul has departed"
msg += "...</span>\n"
else
@@ -37,7 +37,7 @@
msg += "</span>"
if (src.digitalcamo)
msg += "It looks replusingly uncanny!\n"
msg += "It is repulsively uncanny!\n"
msg += "*---------*</span>"
+4 -3
View File
@@ -631,9 +631,10 @@
src.client << "\red Admin-player or player-admin conversation only!"
return.
var/t = input("Message:", text("Private message to [C.key]")) as text|null
if (!t || !usr || !C || !usr.client)
return
//get message text, limit it's length.and clean/escape html
var/t = input("Message:", "Private message to [C.key]") as text|null
t = sanitize( copytext(t,1,500) )
if (!t || !usr || !C || !usr.client) return
if (usr.client && usr.client.holder) //Admin is messaging a player
C << "\red <font size='4'><b>-- Administrator private message --</b></font>"
C << "<b>[key_name(usr.client, C, 0)] [t]</b>"
@@ -233,6 +233,9 @@
else if(!href_list["late_join"])
new_player_panel()
if(href_list["priv_msg"])
..() //pass PM calls along to /mob/Topic
return
proc/IsJobAvailable(rank)
var/datum/job/job = job_master.GetJob(rank)