Author: Isomer <isomer@undernet.org>
authorPerry Lorier <isomer@undernet.org>
Mon, 25 Apr 2005 04:04:17 +0000 (04:04 +0000)
committerPerry Lorier <isomer@undernet.org>
Mon, 25 Apr 2005 04:04:17 +0000 (04:04 +0000)
Log message:

Place a message in the config suggesting adding port lines to
Connect blocks too.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1385 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

tools/convert-conf.py

index f093547039e33176dfd236f9ed6b6ac441fa7da7..8e94a71b066728e2d928850ecbb0946d2a5774ce 100755 (executable)
@@ -22,7 +22,7 @@
 # Usage:
 #   convert-conf.py < old.conf > new.conf
 #
-# $Id: convert-conf.py,v 1.7 2005-04-25 04:00:50 isomer Exp $
+# $Id: convert-conf.py,v 1.8 2005-04-25 04:04:17 isomer Exp $
 #
 
 import sys
@@ -347,6 +347,8 @@ if len(connects.keys()):
                else:
                        print "\tleaf;"
                if not connects[i].has_key("port"):
+                       print "# You can now specify ports without implying autoconnect"
+                       print "#\tport = 4400;"
                        print "\tautoconnect = no;"
                        sys.stderr.write("NOTE: You should add a port for \"%s\", autoconnect is now specified seperately\n" % qstr(connects[i]["name"]))
                print "};"