mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-20 00:54:45 +01:00
Simpler to just alias the methods and prevents typos. ;)
This commit is contained in:
parent
aa73b5dd81
commit
e48126028d
@ -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>]
|
||||
|
Loading…
Reference in New Issue
Block a user