Commit afc98ecf76b1f76026aff58352735fe904f6bd8e

Authored by sniker
1 parent f6266a5f

Fixes

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
pushover.pl
... ... @@ -7,7 +7,7 @@ use warnings;
7 7 #
8 8 #
9 9 # Commands:
10   -# /set pushover_token TOKEN
  10 +# /set pushover_token APP_TOKEN
11 11 # /set pushover_user USER_TOKEN
12 12 # /set pushover_device DEVICE # Send to ALL if left empty
13 13 # /set pushover_general_hilight on/off
... ... @@ -73,7 +73,7 @@ sub send_noti {
73 73 $options{'title'} = $title;
74 74 $options{'msg'} = $text;
75 75 $options{'priority'} = $priority;
76   - $options{'token'} = Irssi::settings_get_str("pushover_user");
  76 + $options{'token'} = Irssi::settings_get_str("pushover_token");
77 77 $options{'user'} = Irssi::settings_get_str("pushover_user");
78 78 $options{'device'} = Irssi::settings_get_str("pushover_device");
79 79  
... ... @@ -97,6 +97,7 @@ sub send_noti {
97 97 if ($response->is_success) {
98 98 # I guess it worked, eh?
99 99 # Debug:
  100 + Irssi::print("What was posted: " . $req);
100 101 Irssi::print("Notification not posted: " . $response->content);
101 102 } else {
102 103 Irssi::print("Notification not posted: " . $response->content);
... ...