Add {network} for keyword expansion

This commit is contained in:
Richard Schwab 2014-05-30 22:50:18 +02:00
parent 8c814bfacc
commit 0317a26ec7
1 changed files with 1 additions and 0 deletions

View File

@ -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);