Browse Source

support onscreen system whispers

David Rose 21 years ago
parent
commit
79ec28a544
1 changed files with 3 additions and 1 deletions
  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):
     def handleSystemMessage(self, di):
         # Got a system message from the server.
         # Got a system message from the server.
         message = di.getString()
         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):
     def handleUnexpectedMsgType(self, msgType, di):
         if msgType == CLIENT_GO_GET_LOST:
         if msgType == CLIENT_GO_GET_LOST: