mirror of https://github.com/SeanOMik/znc-push.git
Merge pull request #15 from cbenard/master
Fixing thing I broke. Adding uri for pushover.
This commit is contained in:
commit
aa45b69466
8
push.cpp
8
push.cpp
|
@ -10,9 +10,6 @@
|
|||
|
||||
#define REQUIRESSL
|
||||
|
||||
#ifdef WIN_MSVC
|
||||
#include "stdafx.hpp"
|
||||
#endif
|
||||
#include "znc.h"
|
||||
#include "Chan.h"
|
||||
#include "User.h"
|
||||
|
@ -305,6 +302,11 @@ class CPushMod : public CModule
|
|||
params["title"] = title;
|
||||
params["message"] = short_message;
|
||||
|
||||
if (uri != "")
|
||||
{
|
||||
params["url"] = uri;
|
||||
}
|
||||
|
||||
if (options["target"] != "")
|
||||
{
|
||||
params["device"] = options["target"];
|
||||
|
|
Loading…
Reference in New Issue