Thank you very much Andrew. I do have on last question that I forgot to ask earlier. Is it possible to see the source of a channel kick with the "channel KICK" callback? Basicly the user that did the kick is what I am referring to.
<br>static int do_channel_kick(Channel *c, User *u, const char *reason);<br><br><div><span class="gmail_quote">On 3/29/06, <b class="gmail_sendername">Andrew Church</b> <<a href="mailto:achurch@achurch.org">achurch@achurch.org
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">>1. I can't find out how to get the channel mode changes that were made to
<br>>the channel using the "channel mode change" callback:<br>>static int do_channel_mode_change(const char *source, Channel *c);<br><br> The callback only informs you of the fact that the modes have changed.
<br>If you want to know exactly what has changed, you'll need to keep your own<br>copy of the modes (c->mode) for each channel. I may change this for 5.1.<br><br>>2. This module logs user joins but everytime ircservices starts up, the
<br>>join callback is called for each user that is allready in the channel. I<br>>tried using is_on_chan() but I guess until services has fully started up, it<br>>doesn't realize that the users are in the channel.
<br><br> This is because of the way IRC works: when a server joins the network,<br>all users are treated as if they had just joined the channels they are in.<br>There's no way around this without rewriting the IRC protocol.
<br><br> --Andrew Church<br> <a href="mailto:achurch@achurch.org">achurch@achurch.org</a><br> <a href="http://achurch.org/">http://achurch.org/</a><br>------------------------------------------------------------------
<br>To unsubscribe or change your subscription options, visit:<br><a href="http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding">http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding</a><br></blockquote>
</div><br>