Added global SAVE trigger

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2852 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-03-04 19:58:34 +00:00
parent 611531bce0
commit 221b273e3b

View File

@@ -1031,6 +1031,8 @@ CommandSave($$)
my ($cl, $param) = @_;
my $ret = "";
DoTrigger("global", "SAVE", 1);
WriteStatefile();
$param = $attr{global}{configfile} if(!$param);