plugin tarot, plugin MUC: removed print which were causing error when printing unicode string

This commit is contained in:
Goffi 2010-07-16 20:15:14 +08:00
commit 6605ab7a0a
2 changed files with 0 additions and 2 deletions

View file

@ -562,7 +562,6 @@ class Tarot():
def card_game_cmd(self, mess_elt, profile):
print "\n\nCARD GAME command received (profile=%s): %s" % (profile, mess_elt.toXml())
from_jid = jid.JID(mess_elt['from'])
room_jid = jid.JID(from_jid.userhost())
game_elt = mess_elt.firstChildElement()

View file

@ -90,7 +90,6 @@ class XEP_0045():
def __room_joined(self, room, profile):
"""Called when the user is in the requested room"""
print "room joined (profile = %s)" % profile
room_jid = room.roomIdentifier+'@'+room.service
self.clients[profile].joined_rooms[room_jid] = room
self.host.bridge.roomJoined(room.roomIdentifier, room.service, [user.nick for user in room.roster.values()], room.nick, profile)