59adb22d by Barry

Added check for getpeername since it doesn't exist on esp usocket

1 parent e8845005
......@@ -159,6 +159,9 @@ class MudServer(object):
self._new_events = []
def get_remote_ip(self, clid):
if 'esp' in sys.platform:
return 'Unknown IP'
else:
cl = self._clients[clid]
return cl.socket.getpeername()
......