From 4b0865ba1126794e3de806700e9396769d3eb47e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 12 Dec 2010 22:28:45 +0000 Subject: [PATCH] [packages] znc: fix script error in r24218 SVN-Revision: 24525 --- net/znc/files/znc.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/znc/files/znc.init b/net/znc/files/znc.init index 38d0051f1c..35aba1c861 100644 --- a/net/znc/files/znc.init +++ b/net/znc/files/znc.init @@ -11,7 +11,7 @@ add_param() { } add_chan() { - chan=${2% *} + chan=${1% *} pass=${1#* } echo " " >> $ZNC_CONFIG [ "$chan" != "$pass" ] && echo " Key = $pass" >> $ZNC_CONFIG -- 2.30.2