channel restriction?
channel restriction?
is it posible to restrict unregisterd channel? so if you join one you will be kicked/banned from it.
i am running anopeservices and how do i backup the settings ?
greetz Jappie
i am running anopeservices and how do i backup the settings ?
greetz Jappie
Uh... this is kinda difficult. You can't really kickban people from an unregistered channel because if there's no one else there the ban will die when the channel is destroyed. Plus, if no one can join an unreg'd channel then how would you register them, since most services require a channel to actually exist (i.e. have at least one member) and that channel must be reg'd by a chanop (or possibly an services operator).
As to your second question, this is a services question and you should look on Anope's web site (or RTFHS) to see how to do this.
As to your second question, this is a services question and you should look on Anope's web site (or RTFHS) to see how to do this.
In that case:
Code: Select all
deny channel {
channel "#*";
reason "Single-channel network (or whatever other reason.";
redirect "#InsertYourMainChannelName";
};
allow channel {
channel "#InsertYourMainChannelName";
};
There could be an alternative method. IRC Services has the following two directives:
Whether or not Anope has something similar, I don't know.# CSEnableRegister [OPTIONAL]
# Allows the REGISTER command to be used. This is usually a good
# thing, but if you don't want your users to be able to register
# channels, remove (or comment out) this directive. Note, however,
# that Services administrators and the Services super-user will
# still be able to use the REGISTER command even if this directive
# is not given.
# CSRegisteredOnly [OPTIONAL]
# Treats unregistered channels as if they were forbidden,
# disallowing access by ordinary users to any channels not
# explicitly registered with ChanServ. IRC operators will be
# allowed to enter such channels, as they are for ordinary
# forbidden channels. Note that this directive operates
# independently from the CSEnableRegister directive; if
# CSEnableRegister is commented out, non-Services-admin IRC
# operators will be able to join unregistered channels but will
# not be permitted to register them.
the best way to to block channels is a deny block... But the only want to enable channels would be to add an allow block for each channel... and example would be...
Other than this, i'm not sure what your options are...
Code: Select all
deny channel {
channel "*";
reason "Close Network";
};
Code: Select all
allow channel {
channel "#MYCHAN";
};
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
pfft like I read all 100 post!
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net