[READ-ONLY] Mirror of https://github.com/VibeDevelopers/Comet.
0

Configure Feed

Select the types of activity you want to include in your feed.

m_ison: Do not report unregistered connections

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.

xnrand (Jun 26, 2020, 8:36 PM UTC) c345d844 01ef07c1

+1 -1
+1 -1
modules/m_ison.c
··· 89 89 char *cs = LOCAL_COPY(parv[i]); 90 90 for (nick = rb_strtok_r(cs, " ", &p); nick; nick = rb_strtok_r(NULL, " ", &p)) 91 91 { 92 - target_p = find_named_client(nick); 92 + target_p = find_named_person(nick); 93 93 94 94 if(target_p != NULL) 95 95 {