On Fri, Jul 19, 2002 at 02:51:57PM +1200, Sir Vulcan wrote:
> ok ive added another usermode, and im making it so opers can set/unset the
> mode on other users. But the thing is it seems set_user_mode() in s_user.c
> uses sptr as the client to set the modes on, thus if i set /mode s +h it
> woul
> is there anyway i can put the value of parv[1] into sptr. parv[1] in this
> case contains a nickname. ive tried:
>
> sptr = parv[1];
>
> but ircu segfaults when it gets to processing it, i also get a warning when
> i compile. (my c knowledge isnt 2 good)
Of course it won't work. "What are
>
> > is there anyway i can put the value of parv[1] into sptr. parv[1] in
>this
> > case contains a nickname. ive tried:
> >
> > sptr = parv[1];
> >
> > but ircu segfaults when it gets to processing it, i also get a warning
>when
> > i compile. (my c knowledge isnt 2 good)
>
>Of course it won'
is there anyway i can put the value of parv[1] into sptr. parv[1] in this
case contains a nickname. ive tried:
sptr = parv[1];
but ircu segfaults when it gets to processing it, i also get a warning when
i compile. (my c knowledge isnt 2 good)
__