[IRCServices Coding] Introduced module's Psuedoclient is invalid user.

Olly olly at avansys.co.uk
Mon Aug 15 10:06:23 PDT 2005


This is crazy. For some reason I can't seem to get a valid channelinfo
struct from the check_kick call-back, so I can't tell which channel is
being joined. Is this a bug, or am I missing something?

Olly

-----Original Message-----
From: ircservices-coding-bounces at ircservices.esper.net
[mailto:ircservices-coding-bounces at ircservices.esper.net]On Behalf Of
Andrew Church
Sent: 15 August 2005 22:39
To: ircservices-coding at ircservices.esper.net
Subject: RE: [IRCServices Coding] Introduced module's Psuedoclient is
invalid user.


     Looks like our messages crossed paths, but--

>Okay here's a couple of questions..
>Can I force Services to produce a valid user struct for the
>psuedoclient?

     No, as per my previous mail.

>Can I find out if a channel join from any user is the first time that
an
>empty channel has been joined?

     See the autokick code in modules/chanserv/check.c:check_kick(),
which
includes code (and comments) to check whether a user is the only user in
the channel both at and after join time.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/
------------------------------------------------------------------
To unsubscribe or change your subscription options, visit:
http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding