diff --git a/pushjet.py b/pushjet.py index ce87c17..0f050f6 100644 --- a/pushjet.py +++ b/pushjet.py @@ -137,7 +137,7 @@ def should_send(buffer, tags, nick, highlighted): elif notify_when == 'detached': # user has opted to only be notified when detached (relays) num_relays = weechat.info_get('relay_client_count', 'connected') - if num_relays != 0: + if num_relays != '0': # some relay(s) connected, bail return False