Commit ecbc70723909cd6eb44eca59c1b5b428231c6af0

Authored by Caesar Ahlenhed
1 parent 72627034

test2

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
pushover.pl
... ... @@ -85,8 +85,8 @@ sub send_noti {
85 85 [
86 86 token => $options{'token'},
87 87 user => $options{'token'},
88   - if(defined($options{'device'})){
89   - device => $options{'device'},;
  88 + if(defined(Irssi::settings_get_str("pushover_device"))){
  89 + device => $options{'device'},
90 90 }
91 91 title => $options{'title'},
92 92 message => $options{'msg'},
... ...