]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - doc/example.conf
Add operator::vhost option.
[irc/rqf/shadowircd.git] / doc / example.conf
index ead3b0f7ccb35d27ec253dcedf1e527b38475383..acf17509a89c58a4d73676fa45f07bd281b9a140 100755 (executable)
@@ -29,12 +29,18 @@ loadmodule "extensions/extb_realname.so";
 loadmodule "extensions/ip_cloaking.so";
 #loadmodule "extensions/m_findforwards.so";
 loadmodule "extensions/m_identify.so";
+loadmodule "extensions/m_mkpasswd.so";
+#loadmodule "extensions/m_adminwall.so";
+#loadmodule "extensions/m_opme.so";
+#loadmodule "extensions/m_ojoin.so";
+#loadmodule "extensions/m_omode.so";
+#loadmodule "extensions/m_olist.so";
+#loadmodule "extensions/m_force.so";
 #loadmodule "extensions/no_oper_invis.so";
 loadmodule "extensions/sno_farconnect.so";
 loadmodule "extensions/sno_globalkline.so";
 loadmodule "extensions/sno_globaloper.so";
 #loadmodule "extensions/sno_whois.so";
-#loadmodule "extensions/m_force.so";
 
 serverinfo {
        name = "hades.arpa";
@@ -266,6 +272,12 @@ operator "god" {
         */
        snomask = "+Zbfkrsuy";
 
+       /* vhost: defines the vhost that this oper will get on oper up.
+        * this must be a valid hostmask. If this is specified the oper
+        * will not be given default_operhost.
+        */
+       vhost = "is.an.oper";
+
        /* flags: misc options for the operator.  You may prefix an option
         * with ~ to disable it, e.g. ~encrypted.
         *
@@ -326,10 +338,15 @@ exempt {
 };
 
 channel {
+       autochanmodes = "nt";
+       exemptchanops = "NT";
+       use_halfop = yes;
+       use_owner = yes;
        use_invex = yes;
        use_except = yes;
        use_knock = yes;
        use_forward = yes;
+       use_local_channels = yes;
        knock_delay = 5 minutes;
        knock_delay_channel = 1 minute;
        max_chans_per_user = 15;
@@ -345,6 +362,7 @@ channel {
        cycle_host_change = yes;
        host_in_topic = yes;
        resv_forcepart = yes;
+       kick_no_rejoin_time = 30 seconds;
 };
 
 serverhide {
@@ -450,6 +468,7 @@ general {
 
        default_operstring = "is an IRC Operator";
        default_adminstring = "is a Server Administrator";
+       default_operhost = "staff.testnet.net";
        servicestring = "is a Network Service";
        disable_fake_channels = no;
         tkline_expire_notices = no;