applied SpamServ patch
[srvx.git] / srvx.conf.example
index 5c1556bda393698ebb38d9a0d8870cd16468ea56..78a93c1f5ed0ff9d8456a74cf7b48a68ec58204b 100644 (file)
         // should users get community announcements by default or not?
         "announcements_default" "on";
     };
+    
+    "spamserv" {
+        // You may disable a service by removing its "nick" config item.
+        // That means: SERVICES WILL ONLY WORK IF YOU DEFINE THEIR NICK.
+        // (This is changed relative srvx-1.0.x, which would use default
+        // unless you specified ".disabled".)
+        "nick" "SpamServ";
+        "debug_channel" "#spamserv";
+        // 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
+        "trigger" "-";
+        // ban duration of a short timedban.
+        "short_ban_duration" "15m";
+        // ban duration of a long timedban.
+        "long_ban_duration" "1h";
+        // duration of a gline. SpamServ will issue it after several violations and a kill.
+        "gline_duration" "1h";
+        // users may add "exception_max" exceptions to the list. IRCOps can override "exception_max".
+        "exception_max" "10";
+        // minimum & maximum length of an exception.
+        "exception_min_len" "4";
+        "exception_max_len" "12";
+        // if someone advertises a channel, which doesn't exist (channel is empty, no users),
+        // SpamServ doesn't punish the user.
+        // enable this setting, if SpamServ has to ignore advertisements of channels, which do not exist.
+        // disable this setting, if SpamServ has to punish the users whenever they advertise.
+        "adv_chan_must_exist" "0";
+        // remove all mirc codes from messages before checking for advertisements.
+        // if this setting is disabled and someone spams a url which
+        // contains a bold char, SpamServ doesn't punish him.
+        "strip_mirc_codes" "1";
+        // enable this, if SpamServ has to "follow" ChanServ, when a channel moves or merges.
+        // disable it, if it shouldn't be possible to move or merge SpamServ with /msg chanserv move|merge.
+        "allow_move_merge" "1";
+    };
 };
 
 // The modules section gives configuration information to optional modules.
     "NickServ" { "mondo_section" "NickServ"; };
     "OpServ" { "mondo_section" "OpServ"; };
     "sendmail" { "mondo_section" "sendmail"; };
+    "SpamServ" { "mondo_section" "SpamServ"; };
 
     // These are the options if you want a database to be in its own file.
     "mondo" {