diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-21 09:41:40 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-21 09:41:40 +0000 |
commit | f93d2932847e4c5b75448dbe34c8031f51144e09 (patch) | |
tree | 5f3a56a11178a66811aad0fbaede42b7c6e181b7 /modules/core | |
parent | 18eddaf3a60077910f503a1c89d327c3ba62fed6 (diff) |
- Add ERR_CHANBANREASON (numeric 485)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1839 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/core')
-rw-r--r-- | modules/core/m_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/m_join.c b/modules/core/m_join.c index c5b21e4..2073d5d 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -139,8 +139,8 @@ m_join(struct Client *client_p, struct Client *source_p, { if (conf) ++conf->count; - sendto_one(source_p, form_str(ERR_BADCHANNAME), - me.name, source_p->name, chan); + sendto_one(source_p, form_str(ERR_CHANBANREASON), me.name, source_p->name, + chan, conf ? conf->reason : "Reserved channel"); sendto_realops_flags(UMODE_SPY, L_ALL, SEND_NOTICE, "Forbidding reserved channel [%s] from user %s", chan, get_client_name(source_p, HIDE_IP)); |