From 7d44d05f5fa9fdd49e127b0609a61446a0b7a30f Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Sun, 1 May 2016 22:47:25 +0200 Subject: Add support for per account set offline_user_quits --- irc_im.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'irc_im.c') diff --git a/irc_im.c b/irc_im.c index f4b7d63f..3e9b2467 100644 --- a/irc_im.c +++ b/irc_im.c @@ -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..."); } } -- cgit v1.2.3