From 09e9d1f749aa2d1ba2daaa114a25c3129dd9c4a9 Mon Sep 17 00:00:00 2001 From: DasBrain Date: Thu, 27 May 2021 09:35:47 +0200 Subject: Place ChanServ notices in the front buffer if the front buffer is on the same network. --- src/common/inbound.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/inbound.c b/src/common/inbound.c index 7175b2ae..8b48bd7f 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -107,7 +107,8 @@ find_session_from_nick (char *nick, server *serv) if (serv->front_session) { - if (userlist_find (serv->front_session, nick)) + // If we are here for ChanServ, then it is usually a reply for the user + if (!g_ascii_strcasecmp(nick, "ChanServ") || userlist_find (serv->front_session, nick)) return serv->front_session; } -- cgit 1.4.1