Remove redundant check.

Surely, if source_p == target_p, then target_p->from == source_p->from.
This commit is contained in:
Jilles Tjoelker 2008-12-28 18:36:41 +01:00
parent a1d2fafd55
commit c98c2c89d6

View file

@ -904,7 +904,7 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, const char
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);
return 0;