summaryrefslogtreecommitdiff
path: root/src/irc/core/servers-redirect.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@irssi.org>2007-11-14 23:02:40 +0000
committerjilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-11-14 23:02:40 +0000
commit90b66dbe6c11ca5e4484f14cd223f1852c15e783 (patch)
treeb2ac294e433083c167b325a60902589afcbe88ad /src/irc/core/servers-redirect.h
parentfabecae6e640f62734d4e5711f1f4a49658c2993 (diff)
downloadirssi-90b66dbe6c11ca5e4484f14cd223f1852c15e783.zip
Rework redirections to deal with multiple concurrent redirects better.
These mostly happen when doing remote whois and the target server is slow. The code uses the source server but will try to do what it can if servers think they need to mask it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4638 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/servers-redirect.h')
-rw-r--r--src/irc/core/servers-redirect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/core/servers-redirect.h b/src/irc/core/servers-redirect.h
index c9be1613..6182e3ab 100644
--- a/src/irc/core/servers-redirect.h
+++ b/src/irc/core/servers-redirect.h
@@ -64,6 +64,7 @@ void server_redirect_command(IRC_SERVER_REC *server, const char *command,
/* Returns the redirection signal for specified event.
This is the function that contains the real redirecting logic. */
const char *server_redirect_get_signal(IRC_SERVER_REC *server,
+ const char *prefix,
const char *event,
const char *args);
/* Returns the redirection signal for specified event.
@@ -72,6 +73,7 @@ const char *server_redirect_get_signal(IRC_SERVER_REC *server,
`redirected' is set to TRUE, if this event belongs to redirection even
while there might be no redirection signal. */
const char *server_redirect_peek_signal(IRC_SERVER_REC *server,
+ const char *prefix,
const char *event,
const char *args,
int *redirected);