unconditionally destroy the client on unregister

This avoids conditions where two sessions can be attached to the same client
while not logged into an account.
This commit is contained in:
Shivaram Lingamneni
2020-05-18 05:28:48 -04:00
parent df2dfb7270
commit bced409e78
2 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import (
var (
restrictedNicknames = []string{
"=scene=", // used for rp commands
"=scene=", // used for rp commands
}
restrictedCasefoldedNicks = make(map[string]bool)