murgo / IrssiNotifier

notifies android phones from irc private messages
Apache License 2.0
171 stars 63 forks source link

Improve initial check for notifiability. #168

Closed Zannick closed 8 years ago

Zannick commented 10 years ago

In print_text, instead of checking that $lastMsg is defined and that $text is in $lastMsg, check that the event in question is a dcc msg, hilighted public message, or private message. (This was previously the first check in should_send_notification.) This will prevent us from triggering on improper print_text events.

Further:

This resolves #165.

murgo commented 8 years ago

Better late than never I guess :)