From 480ee7baa873ebcb38585f653b5810d550da915b Mon Sep 17 00:00:00 2001 From: Ming Tang Date: Fri, 1 Mar 2013 11:02:42 -0800 Subject: [PATCH] changed "sound" option name to the more specific "message_sound" name --- push.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/push.cpp b/push.cpp index 77fc0db..c9b008b 100644 --- a/push.cpp +++ b/push.cpp @@ -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")