diff --git a/znc.tcl b/znc.tcl index 69c8568..489b912 100644 --- a/znc.tcl +++ b/znc.tcl @@ -261,7 +261,7 @@ proc znc:confirm {nick host handle chan text} { znc:blockuser:unblock $username chattr $username -C puthelp "NOTICE $nick :$username is now confirmed." - } elseif { validuser $username } { + } elseif [ validuser $username ] { puthelp "NOTICE $nick :$username is already confirmed." } else { puthelp "NOTICE $nick :$username does not exist" @@ -278,7 +278,7 @@ proc znc:deny {nick host handle chan text} { znc:controlpanel:DelUser $username deluser $username puthelp "NOTICE $nick :$username is now denied." - } elseif { validuser $username } { + } elseif [ validuser $username ] { puthelp "NOTICE $nick :$username is already confirmed. Use \"${scriptCommandPrefix}DelUser \" to remove" } else { puthelp "NOTICE $nick :$username does not exist"