From 93d69f50ee2d1251d0e24d93bd2dc3b3b6d1a50f Mon Sep 17 00:00:00 2001
From: Timo Sirainen <cras@irssi.org>
Date: Sat, 17 Nov 2001 00:23:21 +0000
Subject: [PATCH] Forgot to update this for server_redirect_register()

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2039 dbcabf3a-b0e7-0310-adc4-f8d773084564
---
 src/irc/core/servers-redirect.h | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/irc/core/servers-redirect.h b/src/irc/core/servers-redirect.h
index 2bf48097..d477fe93 100644
--- a/src/irc/core/servers-redirect.h
+++ b/src/irc/core/servers-redirect.h
@@ -10,18 +10,21 @@
    reply before aborting.
 
    ... - char *start, int argpos, char *start, int argpos, ..., NULL,
-         char *stop, int argpos, char *stop, int argpos, ..., NULL
+         char *stop, int argpos, char *stop, int argpos, ..., NULL,
+         char *optional, int argpos, ..., NULL
    List of events that start and stop this redirection.
    Start event list may be just NULL, but there must be at least one
-   stop event. `argpos' specifies the word number in event string which
-   is compared to wanted argument, -1 = don't compare, TRUE always. */
+   stop event. Optional events are checked only if they are received
+   immediately after one of the stop-events. `argpos' specifies the
+   word number in event string which is compared to wanted argument,
+   -1 = don't compare, TRUE always. */
 void server_redirect_register(const char *command,
 			      int remote, int timeout, ...);
-/* start/stop lists shouldn't be free'd after, and their strings
+/* start/stop/opt lists shouldn't be free'd after, and their strings
    should be dynamically allocated */
 void server_redirect_register_list(const char *command,
 				   int remote, int timeout,
-				   GSList *start, GSList *stop);
+				   GSList *start, GSList *stop, GSList *opt);
 
 /* Specify that the next command sent to server will be redirected.
    NOTE: This command MUST be called before irc_send_cmd().