Makes PMs work after the client reconnects (#14404)

This commit is contained in:
farie82
2020-09-21 15:08:34 -04:00
committed by GitHub
parent 6e21cfde19
commit 1ffca6dfed
11 changed files with 43 additions and 39 deletions
+1 -3
View File
@@ -64,9 +64,7 @@
var/client/C
if(istext(whom))
if(cmptext(copytext(whom,1,2),"@"))
whom = findStealthKey(whom)
C = GLOB.directory[whom]
C = get_client_by_ckey(whom)
else if(istype(whom,/client))
C = whom