]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
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 | "channel KICK" 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 <<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>> wrote: | |
41 | ><i> | |
42 | </I>><i> >1. I can't find out how to get the channel mode changes that were made | |
43 | </I>><i> to | |
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); | |
46 | </I>><i> | |
47 | </I>><i> The callback only informs you of the fact that the modes have | |
48 | </I>><i> changed. | |
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. | |
51 | </I>><i> | |
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, | |
55 | </I>><i> it | |
56 | </I>><i> >doesn't realize that the users are in the channel. | |
57 | </I>><i> | |
58 | </I>><i> This is because of the way IRC works: when a server joins the | |
59 | </I>><i> network, | |
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. | |
62 | </I>><i> | |
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> | |
69 | </I>><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> |