From 055fc3981dc5d20a4350d546c13616f975946b9b Mon Sep 17 00:00:00 2001 From: John Reese Date: Fri, 16 May 2014 11:44:30 -0700 Subject: [PATCH] Reindent --- push.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/push.cpp b/push.cpp index 2d7c08e..cf88a09 100755 --- a/push.cpp +++ b/push.cpp @@ -303,25 +303,25 @@ class CPushMod : public CModule params["notification[message]"] = message_content; params["notification[source_url]"] = message_uri; } - else if (service == "boxcar2") - { - if (options["secret"] == "") - { - PutModule("Error: secret not set to apikey"); - return; - } + else if (service == "boxcar2") + { + if (options["secret"] == "") + { + PutModule("Error: secret not set to apikey"); + return; + } - service_host = "new.boxcar.io"; - service_url = "/api/notifications"; + service_host = "new.boxcar.io"; + service_url = "/api/notifications"; - params["user_credentials"] = options["secret"]; - params["notification[title]"] = message_title; - params["notification[long_message]"] = message_content; - if ( options["message_sound"] != "" ) - { - params["notification[sound]"] = options["message_sound"]; - } - } + params["user_credentials"] = options["secret"]; + params["notification[title]"] = message_title; + params["notification[long_message]"] = message_content; + if ( options["message_sound"] != "" ) + { + params["notification[sound]"] = options["message_sound"]; + } + } else if (service == "nma") { if (options["secret"] == "")