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 064c191ad2
commit 53ece38bb1
1 changed files with 1 additions and 1 deletions

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;