Logging update

- Added logging for prayers
- Added logging/admin messages for law uploads

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5624 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
quartz235@gmail.com
2013-01-29 02:27:24 +00:00
parent 73786fbf9b
commit d24cd192bf
5 changed files with 28 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
msg = copytext(sanitize(msg), 1, MAX_MESSAGE_LEN)
if(!msg) return
log_prayer("[src.key]/([src.name]): [msg]")
if(usr.client)
if(usr.client.prefs.muted & MUTE_PRAY)
usr << "\red You cannot pray (muted)."