reload should call irc.reload_module, not unload_module
This commit is contained in:
parent
d637983ae1
commit
efb92ddc83
@ -163,7 +163,7 @@ class IrcAdmin(Module):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
whats = what.split(' ')
|
whats = what.split(' ')
|
||||||
return self.reply(connection, replypath, self.irc.unload_module(whats[1]))
|
return self.reply(connection, replypath, self.irc.reload_module(whats[1]))
|
||||||
|
|
||||||
# vi:tabstop=4:expandtab:autoindent
|
# vi:tabstop=4:expandtab:autoindent
|
||||||
# kate: indent-mode python;indent-width 4;replace-tabs on;
|
# kate: indent-mode python;indent-width 4;replace-tabs on;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user