From b97e1bf66c6b831bb8317d52a3296540318ca509 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 14 Apr 2012 01:11:40 +0200 Subject: [PATCH] extensions/roleplay: Fix "No such channel" message. --- extensions/m_roleplay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/m_roleplay.c b/extensions/m_roleplay.c index df9e76bc..ee362246 100644 --- a/extensions/m_roleplay.c +++ b/extensions/m_roleplay.c @@ -145,7 +145,8 @@ m_displaymsg(struct Client *source_p, const char *channel, int underline, int ac if((chptr = find_channel(channel)) == NULL) { - sendto_one(source_p, form_str(ERR_NOSUCHCHANNEL), channel); + sendto_one_numeric(source_p, ERR_NOSUCHCHANNEL, + form_str(ERR_NOSUCHCHANNEL), channel); return 0; }