1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices]
5.1 InspIRCd protocol
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%205.1%20InspIRCd%20protocol&In-Reply-To=b19eae4e0709100507je98f094p371df5abf649fba7%40mail.gmail.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=
"005382.html">
11 <LINK REL=
"Next" HREF=
"005384.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices]
5.1 InspIRCd protocol
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%205.1%20InspIRCd%20protocol&In-Reply-To=b19eae4e0709100507je98f094p371df5abf649fba7%40mail.gmail.com"
17 TITLE=
"[IRCServices] 5.1 InspIRCd protocol">achurch at achurch.org
19 <I>Mon Sep
10 21:
48:
11 PDT
2007</I>
21 <LI>Previous message:
<A HREF=
"005382.html">[IRCServices]
5.1 InspIRCd protocol
23 <LI>Next message:
<A HREF=
"005384.html">[IRCServices]
5.1 InspIRCd protocol
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#5383">[ date ]
</a>
27 <a href=
"thread.html#5383">[ thread ]
</a>
28 <a href=
"subject.html#5383">[ subject ]
</a>
29 <a href=
"author.html#5383">[ author ]
</a>
34 <PRE>><i>Our MODE command does not take a timestamp parameter.
36 </I>><i>FMODE does, but will reject any timestamp of
0.
38 </I>><i>(basically, use MODE, but with no timestamp)
40 Hm. Not sure why it worked for me anyway, but try the following patch:
42 Index: modules/protocol/inspircd.c
43 ===================================================================
44 RCS file: /var/local/cvsroot/ircservices/modules/protocol/inspircd.c,v
45 retrieving revision
2.9
46 diff -u -r2.9 inspircd.c
47 --- modules/protocol/inspircd.c
3 Sep
2007 11:
26:
34 -
0000 2.9
48 +++ modules/protocol/inspircd.c
10 Sep
2007 12:
48:
07 -
0000
50 User *u = get_user(av[
2]);
52 clear_channel(c, CLEAR_BANS, u);
54 - do_cmode(source, ac, av);
55 + } else if (ac
>=
3) {
56 + char modestr[BUFSIZE];
57 + av[
1] = av[
0]; /* Remove the timestamp parameter */
58 + if (av[
2][
0] != '+'
&& av[
2][
0] != '-') {
59 + /* InspIRCd seems to omit the leading '+' when sending
60 + * initial modes for the channel */
61 + snprintf(modestr, sizeof(modestr),
"+%s
", av[
2]);
64 + do_cmode(source, ac-
1, av+
1);
70 protocol_name =
"InspIRCd
";
71 protocol_version =
"1.1+
";
72 - protocol_features = PF_SZLINE | PF_SVSJOIN | PF_MODETS_FIRST;
73 + protocol_features = PF_SZLINE | PF_SVSJOIN;
74 protocol_nickmax =
30;
76 if (!register_messages(inspircd_messages)) {
79 <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
80 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
88 <LI>Previous message:
<A HREF=
"005382.html">[IRCServices]
5.1 InspIRCd protocol
90 <LI>Next message:
<A HREF=
"005384.html">[IRCServices]
5.1 InspIRCd protocol
92 <LI> <B>Messages sorted by:
</B>
93 <a href=
"date.html#5383">[ date ]
</a>
94 <a href=
"thread.html#5383">[ thread ]
</a>
95 <a href=
"subject.html#5383">[ subject ]
</a>
96 <a href=
"author.html#5383">[ author ]
</a>