mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Fix kicknorejoin not showing the channel name properly in errors.
Closes #1775.
This commit is contained in:
parent
31897d26f2
commit
c506023c5a
@ -148,7 +148,7 @@ public:
|
||||
const KickRejoinData* data = kr.ext.get(chan);
|
||||
if ((data) && !invapi->IsInvited(user, chan) && (!data->canjoin(user)))
|
||||
{
|
||||
user->WriteNumeric(ERR_UNAVAILRESOURCE, chan, InspIRCd::Format("You must wait %u seconds after being kicked to rejoin (+J is set)", data->delay));
|
||||
user->WriteNumeric(ERR_UNAVAILRESOURCE, chan->name, InspIRCd::Format("You must wait %u seconds after being kicked to rejoin (+J is set)", data->delay));
|
||||
return MOD_RES_DENY;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user