Commit 697dc2ba35e210b524d6460abafd82d6453f09ee

Authored by Caesar Ahlenhed
1 parent 3acf9c0a

Final fixes to debug

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
pushover.pl
... ... @@ -101,18 +101,18 @@ sub send_noti {
101 101 # I guess it worked, eh?
102 102 # Debug:
103 103 if(Irssi::settings_get_bool("pushover_debug")){
104   - Irssi::print($IRSSI{'name'} . "DEBUG:");
  104 + Irssi::print($IRSSI{'name'} . " DEBUG:");
105 105 Irssi::print("What was posted: " . Dumper(\%options));
106 106 Irssi::print("HTTP Code: " . $response->status_line());
107   - Irssi::print("Notification posted: " . $response->content);
  107 + Irssi::print("Notification posted/Response: " . $response->content);
108 108 }
109 109 } else {
110 110 if(Irssi::settings_get_bool("pushover_debug")){
111   - Irssi::print($IRSSI{'name'} . "DEBUG:");
  111 + Irssi::print($IRSSI{'name'} . " DEBUG:");
112 112 Irssi::print("What was posted: " . Dumper(\%options));
113 113 Irssi::print("HTTP Code: " . $response->status_line());
114 114 }
115   - Irssi::print("Notification not posted: " . $response->content);
  115 + Irssi::print("Notification not posted/Response: " . $response->content);
116 116 }
117 117 }
118 118  
... ...