mirror of
https://github.com/osmarks/ngircd.git
synced 2025-05-06 01:14:04 +00:00
Enhance logging while setting up predefined channels
This commit is contained in:
parent
a3072ce698
commit
fed22184c5
@ -130,9 +130,6 @@ Channel_InitPredefined( void )
|
|||||||
conf_chan->name);
|
conf_chan->name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Log(LOG_INFO, "Created pre-defined channel \"%s\".",
|
|
||||||
conf_chan->name);
|
|
||||||
|
|
||||||
Channel_ModeAdd(new_chan, 'P');
|
Channel_ModeAdd(new_chan, 'P');
|
||||||
|
|
||||||
if (conf_chan->topic[0])
|
if (conf_chan->topic[0])
|
||||||
@ -168,6 +165,11 @@ Channel_InitPredefined( void )
|
|||||||
Channel_SetKey(new_chan, conf_chan->key);
|
Channel_SetKey(new_chan, conf_chan->key);
|
||||||
Channel_SetMaxUsers(new_chan, conf_chan->maxusers);
|
Channel_SetMaxUsers(new_chan, conf_chan->maxusers);
|
||||||
Set_KeyFile(new_chan, conf_chan->keyfile);
|
Set_KeyFile(new_chan, conf_chan->keyfile);
|
||||||
|
|
||||||
|
Log(LOG_INFO,
|
||||||
|
"Created pre-defined channel \"%s\", mode \"%s\" (key \"%s\", limit %d).",
|
||||||
|
new_chan->name, new_chan->modes, new_chan->key,
|
||||||
|
new_chan->maxusers);
|
||||||
}
|
}
|
||||||
if (channel_count)
|
if (channel_count)
|
||||||
array_free(&Conf_Channels);
|
array_free(&Conf_Channels);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user