mirror of https://github.com/SeanOMik/znc-push.git
Update push.cpp
This commit is contained in:
parent
a432dbf449
commit
333a401e79
4
push.cpp
4
push.cpp
|
@ -447,7 +447,6 @@ class CPushMod : public CModule
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (service == "pushalot")
|
else if (service == "pushalot")
|
||||||
{
|
{
|
||||||
if (options["secret"] == "")
|
if (options["secret"] == "")
|
||||||
|
@ -473,7 +472,6 @@ class CPushMod : public CModule
|
||||||
params["LinkTitle"] = options["message_uri_title"];
|
params["LinkTitle"] = options["message_uri_title"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (service == "prowl")
|
else if (service == "prowl")
|
||||||
{
|
{
|
||||||
if (options["secret"] == "")
|
if (options["secret"] == "")
|
||||||
|
@ -563,7 +561,6 @@ class CPushMod : public CModule
|
||||||
params["from"] = message_title;
|
params["from"] = message_title;
|
||||||
params["to"] = options["target"];
|
params["to"] = options["target"];
|
||||||
params["text"] = message_content;
|
params["text"] = message_content;
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (service == "url")
|
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");
|
PutModule("Note: Pushalot requires setting the 'secret' (to user key) (to authorization token) option");
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (value == "prowl")
|
else if (value == "prowl")
|
||||||
{
|
{
|
||||||
PutModule("Note: Prowl requires setting the 'secret' option");
|
PutModule("Note: Prowl requires setting the 'secret' option");
|
||||||
|
|
Loading…
Reference in New Issue