Alexander,
 
The „predefined“ channels are read in from the configuration file in conf.c, function Handle_CHANNEL(). And they become created by the function Channel_InitPredefined() in channel.c, which in turn gets called from the main() function in ngircd.c.


I see that predefined  channels need to be defined in the config file (i.e.: ngircd.conf) filling, for each channel, the form:

[Channel]
Name =

Topic = 

Modes =
Key =
KeyFile =
MaxUsers =

 
But how can i give voice to users when they log in?
And how can i provide +o to certain users automatically when they log in?
 
Tnx,
alex