Prior to this, m_ison would report a nick as being online if a client
that was not yet registered had chosen this nickname on the same server.
This change adds a check to make sure the struct Client has a
struct User associated with it, i.e. registration has occurred.
char *cs = LOCAL_COPY(parv[i]);
for (nick = rb_strtok_r(cs, " ", &p); nick; nick = rb_strtok_r(NULL, " ", &p))
{
- target_p = find_named_client(nick);
+ target_p = find_named_person(nick);
if(target_p != NULL)
{