mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
extensions/roleplay: Fix "No such channel" message.
This commit is contained in:
parent
23485ebe3a
commit
b97e1bf66c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue