Version 1.64 of src/irc/core/irc-servers.c in cvs:
revision 1.64 date: 2004-09-15 21:27:22 +0000; author: geert; state: Exp; lines: +14 -6 Bugfix: http://bugs.irssi.org/?do=details&id=121
makes the icb module segfault. I'm not sure if this is the right patch, because I don't understand what the exact purpose of the "event connected" signal is, but the attached patch at least fixes the segfault I have.
Index: src/irc/core/irc-servers.c
===================================================================
RCS file: /home/cvs/irssi/src/irc/core/irc-servers.c,v
retrieving revision 1.64
diff -u -d -r1.64 irc-servers.c
--- src/irc/core/irc-servers.c 15 Sep 2004 21:27:22 -0000 1.64
+++ src/irc/core/irc-servers.c 3 Oct 2004 16:36:53 -0000
@@ -514,7 +514,7 @@
static void real_connected(IRC_SERVER_REC *server)
{
- if (server->connrec->usermode != NULL)
+ if (IS_IRC_SERVER(server) && server->connrec->usermode != NULL)
sig_set_user_mode(server);
}
