if(flags & CHFL_CHANOP)
{
chptr->channelts = rb_current_time();
- chptr->mode.mode |= MODE_TOPICLIMIT;
- chptr->mode.mode |= MODE_NOPRIVMSGS;
+ chptr->mode.mode |= ConfigChannel.autochanmodes;
modes = channel_modes(chptr, &me);
sendto_channel_local(ONLY_CHANOPS, chptr, ":%s MODE %s %s",
int fl;
int isnew;
int mlen_uid;
- int len_nick;
int len_uid;
int len;
int joins = 0;
mbuf = modebuf;
para[0] = para[1] = para[2] = para[3] = empty;
pargs = 0;
- len_nick = len_uid = 0;
+ len_uid = 0;
/* if theres a space, theres going to be more than one nick, change the
* first space to \0, so s is just the first nick, and point p to the
if(fl & CHFL_CHANOP)
{
*ptr_uid++ = '@';
- len_nick++;
len_uid++;
}
if(fl & CHFL_VOICE)
{
*ptr_uid++ = '+';
- len_nick++;
len_uid++;
}
}