From e82a95be0873895f2b5856ab51064ab22176d26b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 12 Dec 2010 22:28:45 +0000 Subject: [PATCH] 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 38d0051f1..35aba1c86 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