mirror of https://github.com/SeanOMik/znc-push.git
Removed #ifdef include since it doesn't actually work. Added URI for Pushover.
This commit is contained in:
parent
885e8aa36e
commit
25cf019163
8
push.cpp
8
push.cpp
|
@ -10,9 +10,6 @@
|
||||||
|
|
||||||
#define REQUIRESSL
|
#define REQUIRESSL
|
||||||
|
|
||||||
#ifdef WIN_MSVC
|
|
||||||
#include "stdafx.hpp"
|
|
||||||
#endif
|
|
||||||
#include "znc.h"
|
#include "znc.h"
|
||||||
#include "Chan.h"
|
#include "Chan.h"
|
||||||
#include "User.h"
|
#include "User.h"
|
||||||
|
@ -305,6 +302,11 @@ class CPushMod : public CModule
|
||||||
params["title"] = title;
|
params["title"] = title;
|
||||||
params["message"] = short_message;
|
params["message"] = short_message;
|
||||||
|
|
||||||
|
if (uri != "")
|
||||||
|
{
|
||||||
|
params["url"] = uri;
|
||||||
|
}
|
||||||
|
|
||||||
if (options["target"] != "")
|
if (options["target"] != "")
|
||||||
{
|
{
|
||||||
params["device"] = options["target"];
|
params["device"] = options["target"];
|
||||||
|
|
Loading…
Reference in New Issue