summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-28 17:17:29 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-28 17:17:29 +0000
commit1163d7f510ebe7e33fe6d1991f54d8c6465d831a (patch)
tree0b6c6cdba30e187076a4096ef098c3cbebf5b44d /modules
parentbaf5fb0af282b82d3f1d9f4025eeb6cfd8fd3093 (diff)
- Backported -r3220 [m_topic.c:m_topic(): use chptr->chname when reporting ERR_NOTONCHANNEL]
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3224 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r--modules/m_topic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_topic.c b/modules/m_topic.c
index 82c3f72..4606e32 100644
--- a/modules/m_topic.c
+++ b/modules/m_topic.c
@@ -76,7 +76,7 @@ m_topic(struct Client *client_p, struct Client *source_p,
if ((ms = find_channel_link(source_p, chptr)) == NULL)
{
sendto_one(source_p, form_str(ERR_NOTONCHANNEL), me.name,
- source_p->name, parv[1]);
+ source_p->name, chptr->chname);
return 0;
}