Merge pull request #15 from cbenard/master

Fixing thing I broke. Adding uri for pushover.
This commit is contained in:
John Reese 2012-10-24 16:22:30 -07:00
commit aa45b69466
1 changed files with 5 additions and 3 deletions

View File

@ -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"];