Exemplo n.º 1
0
 def do318(self, irc, msg):
     nick = msg.args[1]
     loweredNick = ircutils.toLower(nick)
     if (irc, loweredNick) not in self._whois:
         return
     (replyIrc, replyMsg, d, command) = self._whois[(irc, loweredNick)]
     d["318"] = msg
     s = ircutils.formatWhois(irc, d, caller=replyMsg.nick, channel=replyMsg.args[0], command=command)
     replyIrc.reply(s)
     del self._whois[(irc, loweredNick)]
Exemplo n.º 2
0
 def do318(self, irc, msg):
     irc = self._getRealIrc(irc)
     nick = msg.args[1]
     loweredNick = ircutils.toLower(nick)
     if (irc, loweredNick) not in self._whois:
         return
     (replyIrc, replyMsg, d) = self._whois[(irc, loweredNick)]
     d['318'] = msg
     s = ircutils.formatWhois(irc, d, caller=replyMsg.nick,
                              channel=replyMsg.args[0])
     replyIrc.reply(s)
     del self._whois[(irc, loweredNick)]
Exemplo n.º 3
0
 def do318(self, irc, msg):
     nick = msg.args[1]
     loweredNick = ircutils.toLower(nick)
     if (irc, loweredNick) not in self._whois:
         return
     (replyIrc, replyMsg, d, command) = self._whois[(irc, loweredNick)]
     d['318'] = msg
     s = ircutils.formatWhois(irc, d, caller=replyMsg.nick,
                              channel=replyMsg.args[0],
                              command=command)
     replyIrc.reply(s)
     del self._whois[(irc, loweredNick)]