mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Update logging.dm
This commit is contained in:
@@ -278,12 +278,12 @@
|
|||||||
var/entry = ""
|
var/entry = ""
|
||||||
if(!user_or_client)
|
if(!user_or_client)
|
||||||
entry += "no user"
|
entry += "no user"
|
||||||
else if(istype(user_or_client, /mob))
|
// else if(istype(user_or_client, /mob)) //CHOMP Edit commenting out these blocks because it just seems to do nothing except spam the logs with... nothing.
|
||||||
var/mob/user = user_or_client
|
// var/mob/user = user_or_client
|
||||||
entry += "[user.ckey] (as [user])"
|
// entry += "[user.ckey] (as [user])"
|
||||||
else if(istype(user_or_client, /client))
|
// else if(istype(user_or_client, /client))
|
||||||
var/client/client = user_or_client
|
// var/client/client = user_or_client
|
||||||
entry += "[client.ckey]"
|
// entry += "[client.ckey]"
|
||||||
entry += ":\n[text]"
|
entry += ":\n[text]"
|
||||||
WRITE_LOG(diary, entry)
|
WRITE_LOG(diary, entry)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user