extensions/roleplay: Fix "No such channel" message.

This commit is contained in:
Jilles Tjoelker 2012-04-14 01:11:40 +02:00
parent 23485ebe3a
commit b97e1bf66c

View file

@ -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;
}