Remove redundant check.
Surely, if source_p == target_p, then target_p->from == source_p->from.
This commit is contained in:
parent
a1d2fafd55
commit
c98c2c89d6
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(source_p != target_p || target_p->from != source_p->from)
|
if(source_p != target_p)
|
||||||
{
|
{
|
||||||
sendto_one(source_p, form_str(ERR_USERSDONTMATCH), me.name, source_p->name);
|
sendto_one(source_p, form_str(ERR_USERSDONTMATCH), me.name, source_p->name);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue