From 0317a26ec70a3308cd9d0bbeffbb53b0ac23f815 Mon Sep 17 00:00:00 2001 From: Richard Schwab Date: Fri, 30 May 2014 22:50:18 +0200 Subject: [PATCH] Add {network} for keyword expansion --- push.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/push.cpp b/push.cpp index 385f847..d1da52b 100755 --- a/push.cpp +++ b/push.cpp @@ -249,6 +249,7 @@ class CPushMod : public CModule replace["{title}"] = title; replace["{username}"] = options["username"]; replace["{secret}"] = options["secret"]; + replace["{network}"] = GetNetwork()->GetName(); CString message_uri = expand(options["message_uri"], replace); CString message_title = expand(options["message_title"], replace);