m_alias: correctly construct string to be sent

This commit is contained in:
Simon Arlott 2016-05-12 19:44:45 +01:00
parent 8dd5d185e8
commit 4ad9738d7a
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View file

@ -150,7 +150,7 @@ m_alias(struct MsgBuf *msgbuf, struct Client *client_p, struct Client *source_p,
return;
}
str = reconstruct_parv(parc, parv);
str = reconstruct_parv(parc - 1, &parv[1]);
if(EmptyString(str))
{
sendto_one(client_p, form_str(ERR_NOTEXTTOSEND), me.name, target_p->name);