mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
No motd if there is already output
git-svn-id: https://svn.fhem.de/fhem/trunk@1650 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5d7af06c13
commit
7cb8799426
@ -470,7 +470,7 @@ FW_AnswerCall($)
|
||||
elsif($FW_detail) { FW_doDetail($FW_detail); }
|
||||
elsif($FW_room) { FW_showRoom(); }
|
||||
elsif($cmd =~ /^logwrapper/) { FW_logWrapper($cmd); }
|
||||
elsif(AttrVal("global", "motd", "none") ne "none") {
|
||||
elsif(!$FW_cmdret && AttrVal("global", "motd", "none") ne "none") {
|
||||
my $motd = AttrVal("global","motd",undef);
|
||||
$motd =~ s/\n/<br>/g;
|
||||
FW_pO "<div id=\"content\">$motd</div>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user