]> jfr.im git - irc/freenode/ircd-seven.git/commit
m_ison: Do not report unregistered connections
authorxnrand <redacted>
Sun, 17 Feb 2019 09:47:19 +0000 (10:47 +0100)
committerxnrand <redacted>
Fri, 26 Jun 2020 20:36:43 +0000 (20:36 +0000)
commitc345d844e6a9b68d328bb6361da46d252db0fa9c
tree1af5daee663e147ce3d6089a7f7c2f0761b6b2b2
parent01ef07c1c8f73f0a8ec0951d81b98a5de4a07a65
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.
modules/m_ison.c