From 156e409bdaec218d5749f6fe968dd4f2bc9ed346 Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Thu, 15 Jan 2009 04:18:23 +0000 Subject: [PATCH] Fix channel history to yank the broadcasting of 'last', also added a "To be implemented" notice to @reload. --- src/cmdhandler.py | 4 +--- src/commands/privileged.py | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cmdhandler.py b/src/cmdhandler.py index 24b47f7727..b213089d11 100755 --- a/src/cmdhandler.py +++ b/src/cmdhandler.py @@ -207,7 +207,7 @@ def match_channel(command): raise ExitCommandHandler elif command.command_argument == "last": comsys.msg_chan_hist(command.session, cname) - ExitCommandHandler + raise ExitCommandHandler second_arg = "%s=%s" % (cname, command.command_argument) command.command_string = "@cemit" @@ -252,9 +252,7 @@ def handle(command): # Match against the 'idle' command. match_idle(command) # See if this is an aliased command. - print "CMD", command.command_string, command.command_argument match_alias(command) - print "CMD", command.command_string, command.command_argument # Check if the user is using a channel command. match_channel(command) # See if the user is trying to traverse an exit. diff --git a/src/commands/privileged.py b/src/commands/privileged.py index 734da35ec9..9c607deaf9 100644 --- a/src/commands/privileged.py +++ b/src/commands/privileged.py @@ -12,7 +12,9 @@ def cmd_reload(command): """ Reloads all modules. """ - session = command.session.server.reload(session) + session = command.session + session.msg("To be implemented...") + #session.server.reload(session) def cmd_boot(command): """