Removed #ifdef include since it doesn't actually work. Added URI for Pushover.

This commit is contained in:
cbenard 2012-10-24 17:59:17 -05:00
parent 885e8aa36e
commit 25cf019163
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"];