-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 08/13/2010 03:12 PM, Rich Griese wrote:
My question. Can I set ngircd up so that users CANNOT create channels? I want to set up a mibbit widget that wil allow people to join the server, and my one user help channel, but I want to prevent anyone from doing a /join #yaya and creating another channel. I can't find anything in the docs for the .conf file, but found this mailing list and thought I would ask.
Hi Rich, I'm already doing this now, in the configuration. You need two entries, a pre-defined channel in the [Channel] section and a channel creation restriction. I hope this helps. Users cannot create/join channels except for those defined in the [Channels] section.
# Allow Pre-Defined Channels only (see Section [Channels]) PredefChannelsOnly = yes
[Channel] # Pre-defined channels can be configured in [Channel] sections. # Such channels are created by the server when starting up and even # persist when there are no more members left. # Persistent channels are marked with the mode 'P', which can be set # and unset by IRC operators like other modes on the fly. # There may be more than one [Channel] block, one for each channel.
# Name of the channel Name = #name_of_my_channel
# Topic for this channel Topic = Welcome
# Initial channel modes Modes = tnk
# initial channel password (mode k) ;Key = Secret
# Key file, syntax for each line: "<user>:<nick>:<key>". # Default: none. ;KeyFile = /etc/ngircd/#chan.key
# maximum users per channel (mode l) MaxUsers = 25
Cheers! RichGriese@gmail.com _______________________________________________ ngIRCd-ML mailing list ngIRCd-ML@ngircd.barton.de http://arthur.ath.cx/mailman/listinfo/ngircd-ml
- -evilghost