comparison src/plugins/plugin_xep_0045.py @ 1199:96fb74a4714d

misc: fixed some typos
author Matteo Cypriani <mcy@lm7.fr>
date Mon, 15 Sep 2014 14:18:25 +0200
parents 3158f9e08760
children b6dbac8ee485
comparison
equal deleted inserted replaced
1198:16ce9a6580a3 1199:96fb74a4714d
618 def cmd_topic(self, mess_data, profile): 618 def cmd_topic(self, mess_data, profile):
619 """just a synonym of /title""" 619 """just a synonym of /title"""
620 return self.cmd_title(mess_data, profile) 620 return self.cmd_title(mess_data, profile)
621 621
622 def _whois(self, whois_msg, mess_data, target_jid, profile): 622 def _whois(self, whois_msg, mess_data, target_jid, profile):
623 """ Add MUC user informations to whois """ 623 """ Add MUC user information to whois """
624 if mess_data['type'] != "groupchat": 624 if mess_data['type'] != "groupchat":
625 return 625 return
626 if target_jid.userhost() not in self.clients[profile].joined_rooms: 626 if target_jid.userhost() not in self.clients[profile].joined_rooms:
627 log.warning(_("This room has not been joined")) 627 log.warning(_("This room has not been joined"))
628 return 628 return