diff options
author | DasBrain <github@dasbrain.pw> | 2021-05-27 09:35:47 +0200 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2021-06-17 11:03:18 -0500 |
commit | 09e9d1f749aa2d1ba2daaa114a25c3129dd9c4a9 (patch) | |
tree | 30bdc2051b4ee3ee4b84d52597853d41e09dcf86 /src | |
parent | 333a02d015fcea22a7ac5aaec086ec17b8bb195d (diff) |
Place ChanServ notices in the front buffer if the front buffer is on the same network.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/inbound.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |