Skip to content

Commit

Permalink
Fixed server-wide chat.
Browse files Browse the repository at this point in the history
  • Loading branch information
lehmannro committed Aug 26, 2010
1 parent 5e25bb9 commit 7428fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardshuffle/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def lineReceived(self, data):
if data.startswith(':'):
# server-wide messages
#XXX party-only messages
factory.broadcast(u"%s: %s" % (self.name, data[1:]))
self.factory.broadcast(u"%s: %s" % (self.name, data[1:]))
else:
command, args = (data.strip() + ' ').split(' ', 1) # nasty hack
if not command:
Expand Down

0 comments on commit 7428fa3

Please sign in to comment.