summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-28 17:16:24 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-28 17:16:24 +0000
commitbaf5fb0af282b82d3f1d9f4025eeb6cfd8fd3093 (patch)
treecdd799f77851c58a81f3cf1cc8b7c7d0f40a5d09
parent9e24c00bae4e0785309881b60a330b526a99e895 (diff)
- Backported -r3212 [m_part.c:part_one_client(): use chptr->chname if we already looked up the channel]
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3223 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r--modules/core/m_part.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/m_part.c b/modules/core/m_part.c
index 338189d..922415a 100644
--- a/modules/core/m_part.c
+++ b/modules/core/m_part.c
@@ -64,8 +64,8 @@ part_one_client(struct Client *source_p, const char *name, const char *reason)
if ((ms = find_channel_link(source_p, chptr)) == NULL)
{
- sendto_one(source_p, form_str(ERR_NOTONCHANNEL),
- me.name, source_p->name, name);
+ sendto_one(source_p, form_str(ERR_NOTONCHANNEL), me.name,
+ source_p->name, chptr->chname);
return;
}