Merge pull request #343 from xnrand/patch-ison-unreg-conn

m_ison: Do not report unregistered connections
This commit is contained in:
Aaron Jones 2020-06-29 17:36:30 +00:00 committed by GitHub
commit e2ceb48c3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ m_ison(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p
char *cs = LOCAL_COPY(parv[i]); char *cs = LOCAL_COPY(parv[i]);
for (nick = rb_strtok_r(cs, " ", &p); nick; nick = rb_strtok_r(NULL, " ", &p)) 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) if(target_p != NULL)
{ {