[IRCServices Coding] RE: [IRCServices] Chanserv

George Stamatiou master at xchat.gr
Mon Jun 17 06:26:29 PDT 2002


Just take a look at /server 66.51.99.34  9888
It's only test server with pre2.
I cannot say nothing else.

----- Original Message -----
From: "Andrew Church" <achurch at achurch.org>
To: <ircservices-coding at ircservices.za.net>
Sent: Monday, June 17, 2002 4:00 PM
Subject: Re: [IRCServices Coding] RE: [IRCServices] Chanserv


> >Gizm0 the problem is that ChanServ checks for mode +ho.But how to check
for
> >mode 'h' when it does NOT support it?
>
>      This is handled properly by the current code; for ircds that don't
> support +h, a lookup of mode "h" will return a flag value of 0, which (1)
> doesn't affect any user's modes if you try to add it and (2) can't match
> any user's current modes if you try to check for it, thus it's as if the
> +h code wasn't there at all.
>
>   --Andrew Church
>     achurch at achurch.org
>     http://achurch.org/
>
> >I just saw the code from ircservices 4.5.27.In these services there is a
> >#ifdef HAVE_HALFOP.
> >It's so simple sometimes to find what is going wrong.
> >Unreal ircd "can see" the mode +o and mode +h.But i think it is good to
> >share these two defferent things.I don't know.I'm saying again that in MY
> >ircd (bahamut-1.4(33)) secureops had problem.I tried and with clean ircd
and
> >ircservices.By the way.I hope you understood  now :-).
> >First, check it.
> >----- Original Message -----
> >From: "Panagiotis Kefalidis ( Gizm0 )" <gizm0 at mail.gr>
> >To: <ircservices-coding at ircservices.za.net>
> >Sent: Monday, June 17, 2002 5:57 PM
> >Subject: [IRCServices Coding] RE: [IRCServices] Chanserv
> >
> >
> >> >well, in my server with bahamut ircd , the option SECUREOPS had
> >> >problem, and did not deop user with no access in channel.Gizm0 is
>right.
> >> the point is that your fix was wrong.
> >> >This will cause problem with unreal ircd.But look that there
> >> >are CA_AUTOOP and CA_AUTOHALFOP.The problem is not the giving mode,
>but
> >> when ChanServ will deop the user (CA_AUTODEOP)
> >> AUTODEOP checks both modes(o and h).there is no need to add and
> >> AUTODEHALFOP.I'm not sure if understood what you were trying to explain
> >us.
> >>
> >> >I don't know if
> >> >should be added an CA_AUTODEHALFOP.
> >> > >
> >> > >>Well, Andrew i think i found what was going wrong with SECUREOPS.
In
> >> > >>file access.c in line 42...
> >> > >>  { CA_AUTODEOP,          -1, "AUTODEOP",    CHAN_LEVEL_AUTODEOP,
> >> > >>          CL_CLEAR_MODE|CL_LESSEQUAL, { cumode: {"oh",0} } },
> >> > >>
> >> > >>There is NO channel mode +h on bahamut.I changed that simple to "o"
> >> > >>>and
> >> > >is working fine.
> >> > >
> >> > >i think this is added for compatibility to half-ops(h) which exists
> >> > >in Unreal ircd.the ChanServ module is used in all protocols and not
> >> > >only for the bahamut,so removing this will propably cause services
> >> > >not to work/respond correct on unreal ircd.Correct me if i'm wrong.
> >> >
> >> >      That's correct.  Frankly I don't know what bug the original
> >> > poster
> >> was
> >> > referring to, but the posted fix will break Unreal and other servers
> >> > with halfops.
> >> >
> >> >   --Andrew Church
> >> >     achurch at achurch.org
> >> >     http://achurch.org/
> >> > ------------------------------------------------------------------
> >> > To unsubscribe or change your subscription options, visit:
> >> > http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
> >> >
> >>
> >>
> >> "I can see the darkness in your eyes."
> >>               Gizm0.-
> >>
> >> -------------------------------------------------------------
> >> http://www.mail.gr/ - Get Your Private Free Email Address!
> >> http://www.ringtone.gr/ - Ringtones & Logos for your mobile!
> >> ------------------------------------------------------------------
> >> To unsubscribe or change your subscription options, visit:
> >> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
> >>
> >
> >
> >------------------------------------------------------------------
> >To unsubscribe or change your subscription options, visit:
> >http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
> ------------------------------------------------------------------
> To unsubscribe or change your subscription options, visit:
> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
>