Warning if no irc server is installed
This commit is contained in:
parent
9c61a88314
commit
d0709ec735
|
@ -1820,6 +1820,12 @@ function menu_media {
|
|||
}
|
||||
|
||||
function menu_irc {
|
||||
if [ ! -d /etc/ngircd ]; then
|
||||
dialog --title $"IRC Menu" \
|
||||
--msgbox $"No IRC server is installed" 6 70
|
||||
return
|
||||
fi
|
||||
|
||||
while true
|
||||
do
|
||||
data=$(tempfile 2>/dev/null)
|
||||
|
|
Loading…
Reference in New Issue