fix possible crash on user deletion
[srvx.git] / srvx.conf.example
index 2501d93a7b208a5e57aa612e8351ee310250d6c7..6019975e2d5b9c7d2f0c3715e47428b6f46d84d2 100644 (file)
 "services" {
     "nickserv" {
         "nick" "NickServ";
-       // What user modes do you want this service to have? Please keep in
-       // mind which ircd software you are using here, and that all of the
-       // services need to be at least +o.
-       // "modes" "+iok";
+        // What user modes do you want this service to have? Please keep in
+        // mind which ircd software you are using here, and that all of the
+        // services need to be at least +o.
+        // "modes" "+iok";
         // If you want to by have *@* as the default hostmask for all
         // new accounts, set default_hostmask.  This is discouraged
         // for security reasons.
             "lc_h" "800"; // specifically lower case h
             "uc_H" "800"; // .. and upper case H
             "S" "999";
-            "b" "1";
+            "b" "800";
+            "I" "800";
         };
         // and for who can change epithets for staff
         "set_epithet_level" "800";
         // what opserv access level do you need to set somebody else's level?
         "modoper_level" "850";
+        // what opserv access level do you need to set somebody's staff level?
+        "modstaff_level" "750";
 
         // how often should accounts be expired?
         "account_expire_freq" "1d";
         // how long must an account be inactive so it can be ounregistered without force?
         "ounregister_inactive" "1M";
         // which flags on an account require the ounregister to be used with force?
-        "ounregister_flags" "ShgsfnHbu";
+        "ounregister_flags" "ShgsfnHbuI";
         /* "require_qualified" has been removed. It is now
          * integrated into the modcmd command authorization
          * and dispatch mechanism.  "/msg OpServ help modcmd"
 
     "opserv" {
         "nick" "OpServ";
-       // What user modes do you want this service to have? Please keep in
-       // mind which ircd software you are using here, and that all of the
-       // services need to be at least +o.
-       // "modes" "+iok";
+        // What user modes do you want this service to have? Please keep in
+        // mind which ircd software you are using here, and that all of the
+        // services need to be at least +o.
+        // "modes" "+iok";
         // should use of this service be limited to global opers?
         "privileged" "1";
         // fullname for service
         // (This is changed relative srvx-1.0.x, which would use default
         // unless you specified ".disabled".)
         "nick" "ChanServ";
-       // What user modes do you want this service to have? Please keep in
-       // mind which ircd software you are using here, and that all of the
-       // services need to be at least +o.
-       // "modes" "+iok";
+        // What user modes do you want this service to have? Please keep in
+        // mind which ircd software you are using here, and that all of the
+        // services need to be at least +o.
+        // "modes" "+iok";
         // Does your ircd have off-channel services support? Does it have
-       // a registered channel mode? Does it support services opping themselves?
+        // a registered channel mode? Does it support services opping themselves?
         // Bahamut has these things; ircu2.10.11 does not.
-       // This setting takes three numerical values:
-       //   0 = off
-       //   1 = use a registered channel mode, have services op themselves
-       //   2 = all of the above, and a channel setting to have ChanServ not
-       //       idle in the channel
+        // This setting takes three numerical values:
+        //   0 = off
+        //   1 = use a registered channel mode, have services op themselves
+        //   2 = all of the above, and a channel setting to have ChanServ not
+        //       idle in the channel
         "off_channel" "0";
+        // revoke channel mode +a on unregister?
+        "revoke_mode_a" "1";
         // how long should a person be unseen before resending infoline?
         "info_delay" "120";
         // maximum greeting length
         "max_chan_users" "512";
         // maximum bans on a channel banlist
         "max_chan_bans" "512";
+        //min time of timebans
+        "min_time_bans" "5";
         // maximum length of a user's infoline
         "max_userinfo_length" "400";
         // If DynLimit is on and there are N users in the channel, ChanServ will
         // How often to look for dnrs that have expired?
         "dnr_expire_freq" "1h";
         // what !set options should we show when user calls "!set" with no arguments?
-        "set_shows" ("DefaultTopic", "TopicMask", "Greeting", "UserGreeting", "Modes", "PubCmd", "InviteMe", "StrictOp", "AutoOp", "EnfModes", "EnfTopic", "TopicSnarf", "UserInfo", "GiveVoice", "GiveOps", "EnfOps", "Setters", "CtcpUser", "CtcpReaction", "Protect", "Toys", "DynLimit", "NoDelete");
+        "set_shows" ("DefaultTopic", "TopicMask", "AdvTopic", "Greeting", "UserGreeting", "Modes", "PubCmd", "InviteMe", "EnfModes", "EnfTopic", "TopicSnarf", "UserInfo", "GiveVoice", "GiveOps", "EnfOps", "Setters", "CtcpUsers", "CtcpReaction", "Protect", "Toys", "DynLimit", "NoDelete");
 
         // A list of !8ball responses
         "8ball" ("Not a chance.",
         "nodelete_level" "1";
         // how long before a new channel owner can give ownership away?
         "giveownership_timeout" "1w";
+        // message sent to new channels
+        "new_channel_unauthed_join" ""; //only sent if the user is unauthed
+        "new_channel_authed_join" ""; //only sent if the user is authed
+        "new_channel_message" ""; //always after the message above
+        "oper_channel" "#opers";
+        
     };
 
     "global" {
         "nick" "Global";
-       // What user modes do you want this service to have? Please keep in
-       // mind which ircd software you are using here, and that all of the
-       // services need to be at least +o.
-       // "modes" "+iok";
+        // What user modes do you want this service to have? Please keep in
+        // mind which ircd software you are using here, and that all of the
+        // services need to be at least +o.
+        // "modes" "+iok";
         // should users get community announcements by default or not?
         "announcements_default" "on";
     };
         // unless you specified ".disabled".)
         "nick" "SpamServ";
         "debug_channel" "#spamserv";
+        "oper_channel" "#opers";
         // url of the network rules. if you don't have network rules, remove this key.
         "network_rules" "http://www.gamesurge.net/aup";
         // trigger for spamserv; remove this key to disable the trigger
         // "search" ("example.org", "example.net");
         // "nameservers" ("127.0.0.1");
     };
+    "watchdog" {
+        "nick" "Watchdog";
+        "modes" "+iok";
+        "ban_duration" "2h"; //only if the channel is registered with chanserv
+        "gline_duration" "1h";
+        "punishment_reason" "Your message contained a forbidden word.";
+        "alert_chan" "#opers";
+        "oper_channel" "#opers";
+    };
+       
+       "hostserv" {
+           "nick" "HostServ";
+           "modes" "+iokSD";
+           "toplevel_access" "600";
+           "fallback_other_assignment" "1";
+           "manager_can_del_toplevel" "0";
+           "manager_can_del_secondlevel" "0";
+           "manager_can_rename_toplevel" "0";
+           "manager_can_rename_secondlevel" "0";
+           "manager_toplevel_can_oset" "0";
+           "manager_secondlevel_can_oset" "0";
+    };
 };
 
 "policers" {
     "OpServ" { "mondo_section" "OpServ"; };
     "sendmail" { "mondo_section" "sendmail"; };
     "SpamServ" { "mondo_section" "SpamServ"; };
+    "Watchdog" { "mondo_section" "Watchdog"; };
+    "HostServ" { "mondo_section" "HostServ"; };
 
     // These are the options if you want a database to be in its own file.
     "mondo" {