mirror of https://github.com/SeanOMik/znc-push.git
changed "sound" option name to the more specific "message_sound" name
This commit is contained in:
parent
79774d694b
commit
480ee7baa8
6
push.cpp
6
push.cpp
|
@ -109,7 +109,7 @@ class CPushMod : public CModule
|
||||||
defaults["username"] = "";
|
defaults["username"] = "";
|
||||||
defaults["secret"] = "";
|
defaults["secret"] = "";
|
||||||
defaults["target"] = "";
|
defaults["target"] = "";
|
||||||
defaults["sound"] = "";
|
defaults["message_sound"] = "";
|
||||||
|
|
||||||
// Condition strings
|
// Condition strings
|
||||||
defaults["channel_conditions"] = "all";
|
defaults["channel_conditions"] = "all";
|
||||||
|
@ -314,9 +314,9 @@ class CPushMod : public CModule
|
||||||
params["device"] = options["target"];
|
params["device"] = options["target"];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( options["sound"] != "" )
|
if ( options["message_sound"] != "" )
|
||||||
{
|
{
|
||||||
params["sound"] = options["sound"];
|
params["sound"] = options["message_sound"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (service == "prowl")
|
else if (service == "prowl")
|
||||||
|
|
Loading…
Reference in New Issue