1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] possible bug in SJOIN when using
7 <LINK REL=
"Index" HREF=
"index.html" >
8 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20possible%20bug%20in%20SJOIN%20when%20using%0A%09CSSetChanneltime&In-Reply-To=">
9 <META NAME=
"robots" CONTENT=
"index,nofollow">
10 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
11 <LINK REL=
"Previous" HREF=
"003021.html">
12 <LINK REL=
"Next" HREF=
"003028.html">
14 <BODY BGCOLOR=
"#ffffff">
15 <H1>[IRCServices Coding] possible bug in SJOIN when using
17 <B>Jon Christopherson
</B>
18 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20possible%20bug%20in%20SJOIN%20when%20using%0A%09CSSetChanneltime&In-Reply-To="
19 TITLE=
"[IRCServices Coding] possible bug in SJOIN when using
20 CSSetChanneltime">jon at jons.org
22 <I>Tue Apr
27 07:
46:
23 PDT
2004</I>
24 <LI>Previous message:
<A HREF=
"003021.html">[IRCServices Coding] Just as a matter of interest..
26 <LI>Next message:
<A HREF=
"003028.html">[IRCServices Coding] possible bug in SJOIN when using
29 <LI> <B>Messages sorted by:
</B>
30 <a href=
"date.html#3023">[ date ]
</a>
31 <a href=
"thread.html#3023">[ thread ]
</a>
32 <a href=
"subject.html#3023">[ subject ]
</a>
33 <a href=
"author.html#3023">[ author ]
</a>
40 I have noticed that with bahamut, and hybrid as well that services
41 doesn't restore mlock'ed modes upon a initial join when using the
42 CSSetChanneltime option.
44 When services sends the SJOIN to set the channel TS, it recreates
45 the channel and removed any modes set by ChanServ when restoring modes. This
48 [
08:
29] * Now talking in #emerald
49 [
08:
29] * irc.test.net sets mode: +nt
50 [
08:
29] * ChanServ sets mode: +s
51 [
08:
29] * services.test.net sets mode: -o ThaPrince
52 [
08:
29] -irc.test.net:#emerald- *** Notice -- TS for #emerald changed from
53 1083076622 to
1083076256
54 [
08:
29] * services.test.net sets mode: -nts
55 [
08:
29] * ChanServ changes topic to 'm00.'
56 [
08:
29] * ChanServ sets mode: +o ThaPrince
58 As you can see I am now left with a channel with no modes at all, as
59 the SJOIN didn't specify any modes:
61 send_cmd(ServerName,
"SJOIN %ld %s + :%s%s
",
62 (long)c-
>creation_time, c-
>name,
63 (modes
& CUMODE_o ?
"@
" :
""), u-
>nick);
66 I believe either adding the mlocked modes to the SJOIN or have the
67 check for mlocked modes done again(or moved to after the SJOIN) when using
83 <LI>Previous message:
<A HREF=
"003021.html">[IRCServices Coding] Just as a matter of interest..
85 <LI>Next message:
<A HREF=
"003028.html">[IRCServices Coding] possible bug in SJOIN when using
88 <LI> <B>Messages sorted by:
</B>
89 <a href=
"date.html#3023">[ date ]
</a>
90 <a href=
"thread.html#3023">[ thread ]
</a>
91 <a href=
"subject.html#3023">[ subject ]
</a>
92 <a href=
"author.html#3023">[ author ]
</a>