diff options
-rw-r--r-- | modules/core/m_part.c | 4 |
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; } |