Commit 3acf9c0a51cd670c0784073d02450be246a984c9

Authored by Caesar Ahlenhed
1 parent 6de543fd

Fixing debug option

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
pushover.pl
... ... @@ -101,12 +101,14 @@ 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 105 Irssi::print("What was posted: " . Dumper(\%options));
105 106 Irssi::print("HTTP Code: " . $response->status_line());
106 107 Irssi::print("Notification posted: " . $response->content);
107 108 }
108 109 } else {
109 110 if(Irssi::settings_get_bool("pushover_debug")){
  111 + Irssi::print($IRSSI{'name'} . "DEBUG:");
110 112 Irssi::print("What was posted: " . Dumper(\%options));
111 113 Irssi::print("HTTP Code: " . $response->status_line());
112 114 }
... ...