From 540c3a8a05ca873630926d6d57ca642cfae46fd4 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 15 Aug 2021 05:15:27 +0100 Subject: [PATCH] ERR_USERONCHANNEL when following a forward is missing a param --- modules/core/m_join.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/core/m_join.c b/modules/core/m_join.c index b155677c..18e9a1ca 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -1041,6 +1041,10 @@ send_join_error(struct Client *source_p, int numeric, const char *name) NORMAL_NUMERIC(ERR_NEEDREGGEDNICK); NORMAL_NUMERIC(ERR_THROTTLE); + case ERR_USERONCHANNEL: + sendto_one_numeric(source_p, ERR_USERONCHANNEL, + form_str(ERR_USERONCHANNEL), source_p->name, name); + break; default: sendto_one_numeric(source_p, numeric, "%s :Cannot join channel", name);