]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2004/003023.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2004 / 003023.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] possible bug in SJOIN when using
5 CSSetChanneltime
6 </TITLE>
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">
13 </HEAD>
14 <BODY BGCOLOR="#ffffff">
15 <H1>[IRCServices Coding] possible bug in SJOIN when using
16 CSSetChanneltime</H1>
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
21 </A><BR>
22 <I>Tue Apr 27 07:46:23 PDT 2004</I>
23 <P><UL>
24 <LI>Previous message: <A HREF="003021.html">[IRCServices Coding] Just as a matter of interest..
25 </A></li>
26 <LI>Next message: <A HREF="003028.html">[IRCServices Coding] possible bug in SJOIN when using
27 CSSetChanneltime
28 </A></li>
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>
34 </LI>
35 </UL>
36 <HR>
37 <!--beginarticle-->
38 <PRE>Hello,
39
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.
43
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
46 can be seen below:
47
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
57
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:
60
61 send_cmd(ServerName, &quot;SJOIN %ld %s + :%s%s&quot;,
62 (long)c-&gt;creation_time, c-&gt;name,
63 (modes &amp; CUMODE_o ? &quot;@&quot; : &quot;&quot;), u-&gt;nick);
64
65
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
68 this feature.
69
70 Regards,
71
72 Jon Christopherson
73
74
75
76
77 </PRE>
78
79 <!--endarticle-->
80 <HR>
81 <P><UL>
82 <!--threads-->
83 <LI>Previous message: <A HREF="003021.html">[IRCServices Coding] Just as a matter of interest..
84 </A></li>
85 <LI>Next message: <A HREF="003028.html">[IRCServices Coding] possible bug in SJOIN when using
86 CSSetChanneltime
87 </A></li>
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>
93 </LI>
94 </UL>
95
96 </body></html>