diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-11 18:59:19 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-11 18:59:19 +0000 |
commit | 850cf993eb8d5e20b9b845e42e4bdae1a6cae81f (patch) | |
tree | 76ac7694abd05394ae84e10763b406be88ad86aa /src/core/commands.c | |
parent | 712f3b383da947f5c565fba3695dbcd02136ce4b (diff) | |
download | irssi-850cf993eb8d5e20b9b845e42e4bdae1a6cae81f.zip |
Moved rewritten server redirection code from core to irc. This new code
should be able to do the redirecting a lot more error-proof. Changed
lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using
redirection. Hopefully this doesn't break too much things in irssi :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/commands.c')
-rw-r--r-- | src/core/commands.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/commands.c b/src/core/commands.c index daea0ea3..ad4b8bd0 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -26,7 +26,6 @@ #include "window-item-def.h" #include "servers.h" -#include "servers-redirect.h" #include "channels.h" #include "lib-config/iconfig.h" @@ -853,10 +852,8 @@ static void parse_command(const char *command, int expand_aliases, } cmd = g_strconcat("command ", newcmd, NULL); - if (server != NULL) - server_redirect_default(SERVER(server), cmd); - g_strdown(cmd); + oldcmd = current_command; current_command = cmd+8; if (!signal_emit(cmd, 3, args, server, item)) { |