From efb92ddc834e352b6e5c8247dda110722cab9594 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 7 Jan 2011 19:09:09 -0600 Subject: [PATCH] reload should call irc.reload_module, not unload_module --- modules/IrcAdmin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/IrcAdmin.py b/modules/IrcAdmin.py index a3f9153..7002d03 100644 --- a/modules/IrcAdmin.py +++ b/modules/IrcAdmin.py @@ -163,7 +163,7 @@ class IrcAdmin(Module): """ 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 # kate: indent-mode python;indent-width 4;replace-tabs on;