1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] Finding the modes set via channel mode change
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.esper.net?Subject=%5BIRCServices%20Coding%5D%20Finding%20the%20modes%20set%20via%20channel%20mode%20change&In-Reply-To=442b58e8.10274%40msgid.achurch.org">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"003251.html">
11 <LINK REL=
"Next" HREF=
"003253.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] Finding the modes set via channel mode change
</H1>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.esper.net?Subject=%5BIRCServices%20Coding%5D%20Finding%20the%20modes%20set%20via%20channel%20mode%20change&In-Reply-To=442b58e8.10274%40msgid.achurch.org"
17 TITLE=
"[IRCServices Coding] Finding the modes set via channel mode change">farklem at gmail.com
19 <I>Wed Mar
29 20:
49:
26 PST
2006</I>
21 <LI>Previous message:
<A HREF=
"003251.html">[IRCServices Coding] Finding the modes set via channel mode change
23 <LI>Next message:
<A HREF=
"003253.html">[IRCServices Coding] Finding the modes set via channel mode change
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#3252">[ date ]
</a>
27 <a href=
"thread.html#3252">[ thread ]
</a>
28 <a href=
"subject.html#3252">[ subject ]
</a>
29 <a href=
"author.html#3252">[ author ]
</a>
34 <PRE>Thank you very much Andrew. I do have on last question that I forgot to ask
35 earlier. Is it possible to see the source of a channel kick with the
36 "channel KICK
" callback? Basicly the user that did the kick is what I am
38 static int do_channel_kick(Channel *c, User *u, const char *reason);
40 On
3/
29/
06, Andrew Church
<<A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>> wrote:
42 </I>><i> >1. I can't find out how to get the channel mode changes that were made
44 </I>><i> >the channel using the
"channel mode change
" callback:
45 </I>><i> >static int do_channel_mode_change(const char *source, Channel *c);
47 </I>><i> The callback only informs you of the fact that the modes have
49 </I>><i> If you want to know exactly what has changed, you'll need to keep your own
50 </I>><i> copy of the modes (c-
>mode) for each channel. I may change this for
5.1.
52 </I>><i> >2. This module logs user joins but everytime ircservices starts up, the
53 </I>><i> >join callback is called for each user that is allready in the channel. I
54 </I>><i> >tried using is_on_chan() but I guess until services has fully started up,
56 </I>><i> >doesn't realize that the users are in the channel.
58 </I>><i> This is because of the way IRC works: when a server joins the
60 </I>><i> all users are treated as if they had just joined the channels they are in.
61 </I>><i> There's no way around this without rewriting the IRC protocol.
63 </I>><i> --Andrew Church
64 </I>><i> <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>
65 </I>><i> <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
66 </I>><i> ------------------------------------------------------------------
67 </I>><i> To unsubscribe or change your subscription options, visit:
68 </I>><i> <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding
</A>
70 </I>-------------- next part --------------
71 An HTML attachment was scrubbed...
72 URL:
<A HREF=
"../attachments/20060329/610e4820/attachment.htm">../attachments/
20060329/
610e4820/attachment.htm
</A>
80 <LI>Previous message:
<A HREF=
"003251.html">[IRCServices Coding] Finding the modes set via channel mode change
82 <LI>Next message:
<A HREF=
"003253.html">[IRCServices Coding] Finding the modes set via channel mode change
84 <LI> <B>Messages sorted by:
</B>
85 <a href=
"date.html#3252">[ date ]
</a>
86 <a href=
"thread.html#3252">[ thread ]
</a>
87 <a href=
"subject.html#3252">[ subject ]
</a>
88 <a href=
"author.html#3252">[ author ]
</a>