@@ -659,7 +659,7 @@ function irc_set_global_password {
chown -R $IRC_USERNAME:$IRC_USERNAME /home/$IRC_USERNAME/.irssi
fi
- fi
+ done
# restart the daemon for the new password to take effect
systemctl restart ngircd