mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
callback => plugin.
This commit is contained in:
parent
766d77e107
commit
0533feafe9
@ -549,7 +549,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
irc.addCallback(callback)
|
irc.addCallback(callback)
|
||||||
irc.error('No plugin %s exists.' % name)
|
irc.error('No plugin %s exists.' % name)
|
||||||
else:
|
else:
|
||||||
irc.error('There was no callback %s.' % name)
|
irc.error('There was no plugin %s.' % name)
|
||||||
|
|
||||||
def unload(self, irc, msg, args):
|
def unload(self, irc, msg, args):
|
||||||
"""<plugin>
|
"""<plugin>
|
||||||
@ -571,7 +571,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
conf.registerPlugin(name, False)
|
conf.registerPlugin(name, False)
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
else:
|
else:
|
||||||
irc.error('There was no callback %s.' % name)
|
irc.error('There was no plugin %s.' % name)
|
||||||
|
|
||||||
def reconnect(self, irc, msg, args):
|
def reconnect(self, irc, msg, args):
|
||||||
"""takes no arguments
|
"""takes no arguments
|
||||||
|
Loading…
Reference in New Issue
Block a user