diff --git a/README.md b/README.md index cd82709..15e2e36 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,9 @@ you're done! You can also load the module with options: - /msg *status loadmod push + /msg *status loadmod push -Note: The <sound> option is only available for Pushover.net API. Also, for some services, there is +Note: The <message_sound> option is only available for Pushover.net API. Also, for some services, there is no username, in that case you can replace <username> with the secret and replace <secret> with null. diff --git a/push.cpp b/push.cpp index c9b008b..6176d6b 100644 --- a/push.cpp +++ b/push.cpp @@ -109,7 +109,13 @@ class CPushMod : public CModule defaults["username"] = ""; defaults["secret"] = ""; defaults["target"] = ""; + + // Notification settings defaults["message_sound"] = ""; + defaults["message_uri"] = ""; + defaults["message_length"] = "100"; + defaults["message_title"] = "{title}"; + defaults["message_content"] = "{message}"; // Condition strings defaults["channel_conditions"] = "all"; @@ -125,12 +131,6 @@ class CPushMod : public CModule defaults["nick_blacklist"] = ""; defaults["replied"] = "yes"; - // Notification settings - defaults["message_length"] = "100"; - defaults["message_uri"] = ""; - defaults["message_title"] = "{title}"; - defaults["message_content"] = "{message}"; - defaults["debug"] = "off"; } virtual ~CPushMod() {}