callback => plugin.

This commit is contained in:
Jeremy Fincher 2004-08-03 03:27:49 +00:00
parent 766d77e107
commit 0533feafe9

View File

@ -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