diff options
| author | troido <troido@hotmail.com> | 2018-01-10 17:18:29 +0100 |
|---|---|---|
| committer | troido <troido@hotmail.com> | 2018-01-10 17:18:29 +0100 |
| commit | 9ef6526ecb2c0ff4244fbfde5bb01a0e7a6dd622 (patch) | |
| tree | 186924079a0d236e1574931477f15d9e52c1fe94 /asciifarm/client/gameclient.py | |
| parent | 1bc93078cc5c2801236a5a6f57bb56ae5081a844 (diff) | |
started tildenames client-side
Diffstat (limited to 'asciifarm/client/gameclient.py')
| -rw-r--r-- | asciifarm/client/gameclient.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/asciifarm/client/gameclient.py b/asciifarm/client/gameclient.py index 6f85e0d..9903533 100644 --- a/asciifarm/client/gameclient.py +++ b/asciifarm/client/gameclient.py @@ -64,6 +64,10 @@ class Client: print("error: name is already taken", file=sys.stderr) self.close() return + if error == "invalidname": + print("error: "+ msg[2], file=sys.stderr) + self.close() + return self.log(error) if msgType == 'field': field = msg[1] |
