No motd if there is already output
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1650 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -470,7 +470,7 @@ FW_AnswerCall($)
|
|||||||
elsif($FW_detail) { FW_doDetail($FW_detail); }
|
elsif($FW_detail) { FW_doDetail($FW_detail); }
|
||||||
elsif($FW_room) { FW_showRoom(); }
|
elsif($FW_room) { FW_showRoom(); }
|
||||||
elsif($cmd =~ /^logwrapper/) { FW_logWrapper($cmd); }
|
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);
|
my $motd = AttrVal("global","motd",undef);
|
||||||
$motd =~ s/\n/<br>/g;
|
$motd =~ s/\n/<br>/g;
|
||||||
FW_pO "<div id=\"content\">$motd</div>";
|
FW_pO "<div id=\"content\">$motd</div>";
|
||||||
|
|||||||
Reference in New Issue
Block a user