> This is in ircd/s_user.c:
> 
>     if (!(setflags & FLAGS_CHSERV) && !IsOper(Optr))
>       ClearChannelService(sptr);
> 
> Compile:
> 
> make[1]: Binnengaan van map `/home/maartenz/IRC/ircu2.10/ircd'
> gcc -g  -O3 -pipe -I. -I.. -I../include  -c s_user.c -o s_user.o
> s_user.c: In function `set_user_mode':
> s_user.c:1279: `Optr' undeclared (first use in this function)
> s_user.c:1279: (Each undeclared identifier is reported only once
> s_user.c:1279: for each function it appears in.)
> make[1]: *** [s_user.o] Fout 1
> make[1]: Weggaan uit map `/home/maartenz/IRC/ircu2.10/ircd'
> 
sorry, it is sptr, no Optr (it is a variable for my needs)

     if (!(setflags & FLAGS_CHSERV) && !IsOper(sptr))
       ClearChannelService(sptr);


-- 
Chojin

Reply via email to