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 {
|
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)
|
||||||
|
|
Loading…
Reference in New Issue