]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2006/003252.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2006 / 003252.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] Finding the modes set via channel mode change
5 </TITLE>
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">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] Finding the modes set via channel mode change</H1>
15 <B>Jason farklem</B>
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
18 </A><BR>
19 <I>Wed Mar 29 20:49:26 PST 2006</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="003251.html">[IRCServices Coding] Finding the modes set via channel mode change
22 </A></li>
23 <LI>Next message: <A HREF="003253.html">[IRCServices Coding] Finding the modes set via channel mode change
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
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 &quot;channel KICK&quot; callback? Basicly the user that did the kick is what I am
37 referring to.
38 static int do_channel_kick(Channel *c, User *u, const char *reason);
39
40 On 3/29/06, Andrew Church &lt;<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>&gt; wrote:
41 &gt;<i>
42 </I>&gt;<i> &gt;1. I can't find out how to get the channel mode changes that were made
43 </I>&gt;<i> to
44 </I>&gt;<i> &gt;the channel using the &quot;channel mode change&quot; callback:
45 </I>&gt;<i> &gt;static int do_channel_mode_change(const char *source, Channel *c);
46 </I>&gt;<i>
47 </I>&gt;<i> The callback only informs you of the fact that the modes have
48 </I>&gt;<i> changed.
49 </I>&gt;<i> If you want to know exactly what has changed, you'll need to keep your own
50 </I>&gt;<i> copy of the modes (c-&gt;mode) for each channel. I may change this for 5.1.
51 </I>&gt;<i>
52 </I>&gt;<i> &gt;2. This module logs user joins but everytime ircservices starts up, the
53 </I>&gt;<i> &gt;join callback is called for each user that is allready in the channel. I
54 </I>&gt;<i> &gt;tried using is_on_chan() but I guess until services has fully started up,
55 </I>&gt;<i> it
56 </I>&gt;<i> &gt;doesn't realize that the users are in the channel.
57 </I>&gt;<i>
58 </I>&gt;<i> This is because of the way IRC works: when a server joins the
59 </I>&gt;<i> network,
60 </I>&gt;<i> all users are treated as if they had just joined the channels they are in.
61 </I>&gt;<i> There's no way around this without rewriting the IRC protocol.
62 </I>&gt;<i>
63 </I>&gt;<i> --Andrew Church
64 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
65 </I>&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
66 </I>&gt;<i> ------------------------------------------------------------------
67 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
68 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
69 </I>&gt;<i>
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>
73 </PRE>
74
75
76 <!--endarticle-->
77 <HR>
78 <P><UL>
79 <!--threads-->
80 <LI>Previous message: <A HREF="003251.html">[IRCServices Coding] Finding the modes set via channel mode change
81 </A></li>
82 <LI>Next message: <A HREF="003253.html">[IRCServices Coding] Finding the modes set via channel mode change
83 </A></li>
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>
89 </LI>
90 </UL>
91
92 </body></html>