if(channel->expiry)
timeq_del(channel->expiry, chanserv_expire_channel, channel, 0);
channel->channel->channel_info = NULL;
-
+ sprintf(msgbuf, "%s %s", channel->channel->name, reason);
dict_delete(channel->notes);
if(!IsSuspended(channel))
DelChannelUser(chanserv, channel->channel, msgbuf, 0);
struct handle_info *handle;
struct chanData *cData;
struct modeNode *mn;
- char reason[MAXLEN];
char *chan_name;
unsigned int new_channel, force=0;
struct do_not_register *dnr;
str = database_get_data(conf_node, "off_channel", RECDB_QSTRING);
off_channel = str ? atoi(str) : 0;
- str = database_get_data(conf_node, "oper_chan", RECDB_QSTRING);
+ str = database_get_data(conf_node, "oper_channel", RECDB_QSTRING);
if(str)
{
chanserv_conf.oper_channel = AddChannel(str, now, "+tinms", NULL);