Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / s_numeric.c
index 747567cb3a978bcc9254a247546c673fe0c53fd2..5d9803c43114500e47b7514eb067deaf040c8858 100644 (file)
@@ -63,7 +63,7 @@ int do_numeric(int numeric, int nnn, struct Client *cptr, struct Client *sptr,
   else
     acptr = (nnn) ? (findNUser(parv[1])) : (FindUser(parv[1]));
 
-  if (((!acptr) || (acptr->from == cptr)) && !achptr)
+  if (((!acptr) || (cli_from(acptr) == cptr)) && !achptr)
     return 0;
 
   /* Remap low number numerics, not that I understand WHY.. --Nemesi  */