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: