changed "sound" option name to the more specific "message_sound" name

This commit is contained in:
Ming Tang 2013-03-01 11:02:42 -08:00
parent 79774d694b
commit 480ee7baa8
1 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ class CPushMod : public CModule
defaults["username"] = "";
defaults["secret"] = "";
defaults["target"] = "";
defaults["sound"] = "";
defaults["message_sound"] = "";
// Condition strings
defaults["channel_conditions"] = "all";
@ -314,9 +314,9 @@ class CPushMod : public CModule
params["device"] = options["target"];
}
if ( options["sound"] != "" )
if ( options["message_sound"] != "" )
{
params["sound"] = options["sound"];
params["sound"] = options["message_sound"];
}
}
else if (service == "prowl")