Explorar o código

support onscreen system whispers

David Rose %!s(int64=21) %!d(string=hai) anos
pai
achega
79ec28a544
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      direct/src/distributed/ClientRepository.py

+ 3 - 1
direct/src/distributed/ClientRepository.py

@@ -343,7 +343,9 @@ class ClientRepository(ConnectionRepository.ConnectionRepository):
     def handleSystemMessage(self, di):
         # Got a system message from the server.
         message = di.getString()
-        ClientRepository.notify.info('Message from server: %s' % (message))
+        self.notify.info('Message from server: %s' % (message))
+
+        return message
 
     def handleUnexpectedMsgType(self, msgType, di):
         if msgType == CLIENT_GO_GET_LOST: