Warning if no irc server is installed

This commit is contained in:
Bob Mottram 2016-04-05 09:13:58 +01:00
parent 9c61a88314
commit d0709ec735
1 changed files with 6 additions and 0 deletions

View File

@ -1820,6 +1820,12 @@ function menu_media {
} }
function menu_irc { function menu_irc {
if [ ! -d /etc/ngircd ]; then
dialog --title $"IRC Menu" \
--msgbox $"No IRC server is installed" 6 70
return
fi
while true while true
do do
data=$(tempfile 2>/dev/null) data=$(tempfile 2>/dev/null)