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/irc/core/ctcp.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/irc/core/ctcp.c')
-rw-r--r-- | src/irc/core/ctcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/ctcp.c b/src/irc/core/ctcp.c index e062a735..b3d56fb6 100644 --- a/src/irc/core/ctcp.c +++ b/src/irc/core/ctcp.c @@ -26,7 +26,7 @@ #include "settings.h" #include "irc-servers.h" -#include "server-idle.h" +#include "servers-idle.h" #include "ignore.h" static void ctcp_queue_clean(IRC_SERVER_REC *server) @@ -57,7 +57,7 @@ void ctcp_send_reply(IRC_SERVER_REC *server, const char *data) return; /* Add to first in idle queue */ - tag = server_idle_add(server, data, NULL, 0, NULL); + tag = server_idle_add(server, data); server->ctcpqueue = g_slist_append(server->ctcpqueue, GINT_TO_POINTER(tag)); } |