def JoinChan(self, event): my_chan = self.channel.GetValue() if(my_chan[0] == "#"): if(irc.ircconnected == True): irc.join(my_chan) self.channel.SetValue(_("Join a channel"))
def JoinChan(self, event): my_chan = self.channel.GetValue() if (my_chan[0] == "#"): if (irc.ircconnected == True): irc.join(my_chan) self.channel.SetValue(_("Join a channel"))
def AddNick(self, event): self.buddy_txt = self.buddy.GetItemText(self.buddy.GetSelection()).encode("utf-8") irc.join(self.buddy_txt)
def AddNick(self, event): self.buddy_txt = self.buddy.GetItemText( self.buddy.GetSelection()).encode("utf-8") irc.join(self.buddy_txt)