home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor.
[plomrogue2-experiments]
/
server_
/
game.py
diff --git
a/server_/game.py
b/server_/game.py
index eee30d9702a4814322254411546bb86b5d4b4b9d..af6c97030c1096395f742e71daae002ae5987186 100644
(file)
--- a/
server_/game.py
+++ b/
server_/game.py
@@
-159,10
+159,10
@@
class Commander():
def cmd_ECHO(self, msg, connection_id):
"""Send msg to caller."""
def cmd_ECHO(self, msg, connection_id):
"""Send msg to caller."""
- self.send
_to(connection_id, msg
)
+ self.send
(msg, connection_id
)
cmd_ECHO.argtypes = 'string'
def cmd_ALL(self, msg, connection_id):
"""Send msg to all clients."""
cmd_ECHO.argtypes = 'string'
def cmd_ALL(self, msg, connection_id):
"""Send msg to all clients."""
- self.send
_all
(msg)
+ self.send(msg)
cmd_ALL.argtypes = 'string'
cmd_ALL.argtypes = 'string'