Update tests/ircd*.conf so that irc.example.net is a hub for two other servers.
[ircu2.10.12-pk.git] / tests / ircd.conf
index 6ae514d0efe6ab564f90a86d11713f8f6c225385..5f8c5bffce689194ac0bc9c6fe5fb424f89e9031 100644 (file)
@@ -11,6 +11,17 @@ Admin {
         Contact = "root@localhost";
 };
 
+Class {
+        name = "Server";
+        pingfreq = 90 seconds;
+        connectfreq = 5 minutes;
+        sendq = 9 megabytes;
+        maxlinks = 10;
+};
+
+Connect { name = "irc-2.example.net"; host = "127.0.0.1"; port = 7610; password = "password"; class = "Server"; autoconnect = no; };
+Connect { name = "irc-3.example.net"; host = "127.0.0.1"; port = 7620; password = "password"; class = "Server"; autoconnect = no; };
+
 Class {
         name = "Local";
         pingfreq = 1 minutes 30 seconds;
@@ -20,4 +31,9 @@ Class {
 
 Client { ip = "127.*"; class = "Local"; };
 Operator { local = no; class = "Local"; host = "*@127.*"; password = "$PLAIN$oper"; name = "oper"; };
+Port { server = yes; port = 7600; };
 Port { port = 7601; };
+
+Features {
+        "HUB" = "TRUE";
+};