znc_create: fix the fix xD

This commit is contained in:
creme 2020-01-16 23:23:50 +01:00
parent 60bb4f7421
commit 2b0e056e72
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if [ -z "$1" ]; then
echo -e "Usage: $(basename "$0") [username]" ; exit 1
fi
if grep -Fxq "<User $2>" "$CONF"; then
if grep -Fxq "<User $1>" "$CONF"; then
echo -e "znc user \"$1\" already exists" ; exit 1
fi