From 25cf019163fee6f0a8a6cafb6987399bb5a4e50a Mon Sep 17 00:00:00 2001 From: cbenard Date: Wed, 24 Oct 2012 17:59:17 -0500 Subject: [PATCH] Removed #ifdef include since it doesn't actually work. Added URI for Pushover. --- push.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/push.cpp b/push.cpp index 0e0e441..b68f764 100644 --- a/push.cpp +++ b/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"];