diff options
author | Marius Halden <marius.h@lden.org> | 2016-05-01 22:47:25 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-05-07 14:31:03 +0200 |
commit | 7d44d05f5fa9fdd49e127b0609a61446a0b7a30f (patch) | |
tree | 4a5854d7fc826d6926295443c6f05cb23f1157b9 /irc_im.c | |
parent | dd0eee9269a1bb68f4b1979f6185f28401489464 (diff) |
Add support for per account set offline_user_quits
Diffstat (limited to 'irc_im.c')
-rw-r--r-- | irc_im.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -136,7 +136,8 @@ static gboolean bee_irc_user_status(bee_t *bee, bee_user_t *bu, bee_user_t *old) one QUIT instead of possibly many (in case of multiple control chans). If there's a channel that shows offline people, a JOIN will follow. */ - if (set_getbool(&bee->set, "offline_user_quits")) { + if (set_getbool(&bee->set, "offline_user_quits") && + set_getbool(&bu->ic->acc->set, "offline_user_quits")) { irc_user_quit(iu, "Leaving..."); } } |