1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] ircservices dev
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20ircservices%20dev&In-Reply-To=20061102125603.88C5FD3B722%40sakura.ian-justman.com">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"005182.html">
11 <LINK REL=
"Next" HREF=
"005184.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] ircservices dev
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20ircservices%20dev&In-Reply-To=20061102125603.88C5FD3B722%40sakura.ian-justman.com"
17 TITLE=
"[IRCServices] ircservices dev">achurch at achurch.org
19 <I>Fri Nov
3 15:
49:
54 PST
2006</I>
21 <LI>Previous message:
<A HREF=
"005182.html">[IRCServices] ircservices dev
23 <LI>Next message:
<A HREF=
"005184.html">[IRCServices] search feature not working on web site for
24 ircservices and no documentation
26 <LI> <B>Messages sorted by:
</B>
27 <a href=
"date.html#5183">[ date ]
</a>
28 <a href=
"thread.html#5183">[ thread ]
</a>
29 <a href=
"subject.html#5183">[ subject ]
</a>
30 <a href=
"author.html#5183">[ author ]
</a>
36 </I>><i>#
0 0x0805551e in sstrdup (s=
0x0) at memory.c:
89
37 </I>><i>#
1 0x0805e4a1 in match_usermask (mask=
0x0, user=
0x85a15a0) at users.c:
696
38 </I>><i>#
2 0x007156f1 in check_kick (user=
0x85a15a0, chan=
0xbffe16d1 "#latinchat
",
40 That's odd; there shouldn't be any NULL entries in the autokick list.
41 I don't know why you'd have such, but try the patch below which works
45 <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
46 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
48 ---------------------------------------------------------------------------
51 ===================================================================
52 RCS file: /var/local/cvsroot/ircservices/users.c,v
53 retrieving revision
2.71
54 diff -u -r2.71 users.c
55 --- users.c
6 Jun
2006 04:
45:
29 -
0000 2.71
56 +++ users.c
3 Nov
2006 06:
48:
33 -
0000
59 int match_usermask(const char *mask, const User *user)
61 - char *mask2 = sstrdup(mask);
63 char *nick, *username, *host;
64 int match_user, match_host, result;
66 + if (!mask || !user) {
67 + log_debug(
1,
"match_usermask: NULL %s!
", !mask ?
"mask
" :
"user
");
70 + mask2 = sstrdup(mask);
71 if (strchr(mask2, '!')) {
72 nick = strtok(mask2,
"!
");
73 username = strtok(NULL,
"@
");
74 Index: modules/chanserv/check.c
75 ===================================================================
76 RCS file: /var/local/cvsroot/ircservices/modules/chanserv/check.c,v
77 retrieving revision
2.84
78 diff -u -r2.84 check.c
79 --- modules/chanserv/check.c
5 Oct
2006 18:
00:
53 -
0000 2.84
80 +++ modules/chanserv/check.c
3 Nov
2006 06:
48:
33 -
0000
84 ARRAY_FOREACH (i, ci-
>akick) {
85 + if (!ci-
>akick[i].mask) {
86 + log_debug(
1,
"%s autokick %d has NULL mask, deleting
", ci-
>name,i);
87 + ARRAY_REMOVE(ci-
>akick, i);
91 if (match_usermask(ci-
>akick[i].mask, user)) {
92 module_log_debug(
2,
"%s matched akick %s
",
93 user-
>nick, ci-
>akick[i].mask);
103 <LI>Previous message:
<A HREF=
"005182.html">[IRCServices] ircservices dev
105 <LI>Next message:
<A HREF=
"005184.html">[IRCServices] search feature not working on web site for
106 ircservices and no documentation
108 <LI> <B>Messages sorted by:
</B>
109 <a href=
"date.html#5183">[ date ]
</a>
110 <a href=
"thread.html#5183">[ thread ]
</a>
111 <a href=
"subject.html#5183">[ subject ]
</a>
112 <a href=
"author.html#5183">[ author ]
</a>