[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LIST, service or fix of code



On Mon, 12 Apr 1999, Thomas Kuiper wrote:

> > How could you have gotten the # of users on the channel without using
> > SERVICE_WANT_VCHANNEL ?
> > 
> well, actually I had only one client testing it with SERVICE_WANT_CHANNEL
> how should I have known about SERVICE_WANT_VCHANNEL? :-)

I don't know - but judging from the code you must have set it..?

                if (chptr->users == 1)
                        check_services_butone(SERVICE_WANT_CHANNEL|
                                              SERVICE_WANT_VCHANNEL,
                                              NULL, &me, "CHANNEL %s %d",
                                              chptr->chname, chptr->users);
                else
                        check_services_butone(SERVICE_WANT_VCHANNEL,
                                              NULL, &me, "CHANNEL %s %d",
                                              chptr->chname, chptr->users);

-- Robert Martin-Legène / Null ! robert@xxxxxxxxxxxxx