diff --git a/README.md b/README.md index 20c139b..f2905e1 100755 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ conditions. ZNC Push current supports the following services: * [Boxcar][] * [Boxcar 2][] -* [Notify My Android][] (NMA) * [Pushover][] * [Pushsafer][] * [Prowl][] @@ -243,7 +242,6 @@ to something similar to "http://domain/#channel/2011-03-09 14:25:09", or Possible values include: * `boxcar` - * `nma` * `pushover` * `pushsafer` * `prowl` @@ -539,7 +537,6 @@ from me and not from my employer. See the `LICENSE` file for details. [Boxcar]: http://boxcar.io [Boxcar 2]: http://boxcar.io -[Notify My Android]: http://www.notifymyandroid.com [Pushover]: http://pushover.net [Pushsafer]: http://www.pushsafer.com [Prowl]: http://www.prowlapp.com diff --git a/push.cpp b/push.cpp index fd20639..3fddd05 100755 --- a/push.cpp +++ b/push.cpp @@ -359,27 +359,6 @@ class CPushMod : public CModule params["notification[sound]"] = options["message_sound"]; } } - else if (service == "nma") - { - if (options["secret"] == "") - { - PutModule("Error: secret not set"); - return; - } - if (options["message_priority"] != "") - { - params["priority"] = options["message_priority"]; - } - - service_host = "www.notifymyandroid.com"; - service_url = "/publicapi/notify"; - - params["apikey"] = options["secret"]; - params["application"] = app; - params["event"] = message_title; - params["description"] = message_content; - params["url"] = message_uri; - } else if (service == "pushover") { if (options["username"] == "") @@ -1488,10 +1467,6 @@ class CPushMod : public CModule { PutModule("Note: Boxcar 2 requires setting the 'secret' option"); } - else if (value == "nma") - { - PutModule("Note: NMA requires setting the 'secret' option"); - } else if (value == "pushover") { PutModule("Note: Pushover requires setting both the 'username' (to user key) and the 'secret' (to application api key) option");