diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm
index d9654140cdf..b6cc60c82ed 100644
--- a/code/modules/admin/admin.dm
+++ b/code/modules/admin/admin.dm
@@ -56,10 +56,11 @@ var/global/nologevent = 0
body += "[admin_jump_link(M, src)]\]
"
body += "Mob type: [M.type]
"
- if(M.client && M.client.related_accounts_cid.len)
- body += "Related accounts by CID: [list2text(M.client.related_accounts_cid, " - ")]
"
- if(M.client && M.client.related_accounts_ip.len)
- body += "Related accounts by IP: [list2text(M.client.related_accounts_ip, " - ")]
"
+ if(M.client)
+ if(M.client.related_accounts_cid.len)
+ body += "Related accounts by CID: [list2text(M.client.related_accounts_cid, " - ")]
"
+ if(M.client.related_accounts_ip.len)
+ body += "Related accounts by IP: [list2text(M.client.related_accounts_ip, " - ")]
"
body += "Kick | "
body += "Warn | "