]> 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)
committerJanik Kleinhoff <redacted>
Tue, 26 Mar 2019 03:03:05 +0000 (03:03 +0000)
commitd338109811e14f1b56e829b774f02fce5b0c0f90
treee8e64fb319877976dabee4320b2e596beb2b1053
parent5c5a3f33ca3ec7548ec149abcd788c69ea1952fc
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