Simpler to just alias the methods and prevents typos. ;)

This commit is contained in:
James Vega 2005-01-04 04:05:38 +00:00
parent aa73b5dd81
commit e48126028d
1 changed files with 1 additions and 7 deletions

View File

@ -453,13 +453,7 @@ class Channel(callbacks.Privmsg):
replyIrc = self.invites.pop((irc, nick), None)
if replyIrc is not None:
replyIrc.error('There is no %s on this network.' % nick)
def do504(self, irc, msg):
nick = msg.args[1]
nick = ircutils.toLower(nick)
replyIrc = self.invites.pop((irc, nick), NOne)
if replyirc is not None:
replyIrc.error('There is not %s on this server.' % nick)
do504 = do401
def lobotomize(self, irc, msg, args, channel):
"""[<channel>]