From 1664cf2de71e72a06b062144852c0402e9dd43ba Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sat, 8 Jan 2011 09:16:37 -0600 Subject: [PATCH] since the save command was saving both modules and config, call it !save, not !config save --- modules/IrcAdmin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/IrcAdmin.py b/modules/IrcAdmin.py index 88371cb..f8279c8 100644 --- a/modules/IrcAdmin.py +++ b/modules/IrcAdmin.py @@ -67,9 +67,10 @@ class IrcAdmin(Module): return self.sub_quit_irc(connection, event, nick, userhost, what, admin_unlocked) elif whats[0] == '!autojoin' and admin_unlocked and len(whats) >= 3: return self.sub_autojoin_manipulate(connection, event, nick, userhost, what, admin_unlocked) - elif whats[0] == '!config' and whats[1] == 'save' and admin_unlocked: + elif whats[0] == '!save' and admin_unlocked: self.irc.save_modules() - return self.irc.save_config() + self.irc.save_config() + return 'Saved.' elif whats[0] == '!nick' and admin_unlocked and len(whats) >= 2: return self.sub_change_nick(connection, event, nick, userhost, what, admin_unlocked) elif whats[0] == '!load' and admin_unlocked and len(whats) >= 2: