Update push.cpp

This commit is contained in:
Kevin Siml 2017-02-27 09:16:41 +01:00 committed by GitHub
parent a432dbf449
commit 333a401e79
1 changed files with 39 additions and 43 deletions

View File

@ -447,7 +447,6 @@ class CPushMod : public CModule
}
}
else if (service == "pushalot")
{
if (options["secret"] == "")
@ -473,7 +472,6 @@ class CPushMod : public CModule
params["LinkTitle"] = options["message_uri_title"];
}
}
else if (service == "prowl")
{
if (options["secret"] == "")
@ -563,7 +561,6 @@ class CPushMod : public CModule
params["from"] = message_title;
params["to"] = options["target"];
params["text"] = message_content;
}
else if (service == "url")
{
@ -1427,7 +1424,6 @@ class CPushMod : public CModule
{
PutModule("Note: Pushalot requires setting the 'secret' (to user key) (to authorization token) option");
}
else if (value == "prowl")
{
PutModule("Note: Prowl requires setting the 'secret' option");