From 867fb47be7cd57869c7f795ed07281bbfe066b76 Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Mon, 6 Apr 2009 22:00:29 +0000 Subject: [PATCH] alias, aliases, same thing. --- src/commands/privileged.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/privileged.py b/src/commands/privileged.py index 60a257a40c..cee03a7301 100644 --- a/src/commands/privileged.py +++ b/src/commands/privileged.py @@ -13,7 +13,7 @@ def cmd_reload(command): """ Reloads all modules. """ - if "aliases" in command.command_switches: + if "aliases" in command.command_switches or "alias" in command.command_switches: command.session.server.reload_aliases(source_object=command.source_object) command.source_object.emit_to("Aliases reloaded.") return