parse: fix aliases
This commit is contained in:
parent
269dd686b3
commit
20dd3725b8
1 changed files with 2 additions and 2 deletions
|
@ -148,10 +148,10 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
|
|||
{
|
||||
if (IsPerson(client_p))
|
||||
{
|
||||
struct alias_entry *aptr = irc_dictionary_retrieve(alias_dict, ch);
|
||||
struct alias_entry *aptr = irc_dictionary_retrieve(alias_dict, msgbuf.cmd);
|
||||
if (aptr != NULL)
|
||||
{
|
||||
do_alias(aptr, client_p, s);
|
||||
do_alias(aptr, client_p, reconstruct_parv(msgbuf.n_para - 1, msgbuf.para + 1));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue