From 2c2f6c240404481c23f1e2c9cf905f56b13cda9f Mon Sep 17 00:00:00 2001
From: Michiel Broek <mbse@mbse.eu>
Date: Thu, 25 May 2006 20:48:53 +0000
Subject: [PATCH] Relay server connect fixes

---
 mbtask/taskibc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mbtask/taskibc.c b/mbtask/taskibc.c
index 76e5cd6e..d1c4877b 100644
--- a/mbtask/taskibc.c
+++ b/mbtask/taskibc.c
@@ -1031,13 +1031,14 @@ int command_server(char *hostname, char *parameters)
     ihops = atoi(hops) + 1;
 
     for (i = 0; i < MAXIBC_SRV; i++) {
+	Syslog('c', "IBC: test %d \"%s\" \"%s\"", i, ncs_list[i].server, name);
 	if (strcmp(ncs_list[i].server, name) == 0) {
 	    found = TRUE;
 	    break;
 	}
     }
 
-    Syslog('c', "IBC: found=%s", found ?"True":"False");
+    Syslog('c', "IBC: found=%s slot=%d", found ?"True":"False", i);
 
     if (found && fullname == NULL) {
 	send_msg(i, (char *)"400 SERVER: Not enough parameters\r\n");