Use Client_find_by_session() instead of a few open-coded loops.
[umurmur.git] / umurmur.conf.example
index f12aae321327d143d489703eb8568922d6fd0d5c..1c32a7887016942a8c89472bcddf9bf7f31415c1 100644 (file)
@@ -10,6 +10,7 @@ password = "";
 # sync_banfile = false;      # Keep banfile synced. Default is false, which means it is saved to at shutdown only.
 # allow_textmessage = true;  # Default is true
 # opus_threshold = 100;      # Percentage of users supporting Opus codec for it to be chosen. Default is 100.
+# show_addresses = true;     # Whether to show client's IP addresses under user information
 max_users = 10;
 
 # bindport = 64738;
@@ -25,6 +26,9 @@ max_users = 10;
 # umurmurd will close and reopen the logfile if SIGHUP is received.
 # logfile = "/var/log/umurmurd.log";
 
+# CA location for CA-signed certificates
+# ca_path = "/path/to/ca/certificates/";
+
 # Channel tree definition:
 # Root channel must always be defined first.
 # If a channel has a parent, the parent must be defined before the child channel(s).
@@ -43,18 +47,20 @@ channels = ( {
         name = "Silent";
         parent = "Root";
         description = "Silent channel";
-        silent = true; # Default is false 
+        silent = true; # Optional. Default is false 
         },
         {
         name = "Red team";
         parent = "Lobby";
         description = "The Red team channel";
+     position = 0;   # Optional. Default is 0 and the channels will be shown in alphabetic order.
      # password = "redpw";
         },
         {
         name = "Blue team";
         parent = "Lobby";
         description = "The Blue team channel";
+     position = 1;   # Optional. Default is 0 and the channels will be shown in alphabetic order.
      # password = "bluepw";
         }
 );