CLEANUP: Remove DOMAINNAME-based local client tracking
authorRemco Rijnders <remmy@serenity-irc.net>
Sat, 7 Mar 2026 17:17:36 +0000 (12:17 -0500)
committerRemco Rijnders <remmy@serenity-irc.net>
Sat, 7 Mar 2026 17:17:36 +0000 (12:17 -0500)
commita750687da66d7df4e381246af3642b64583b1d98
tree6c3fd535800114d8c267c9845084f07f463c4c1b
parent050ed833add7bdb5465cb3d4b6cd548a2c93502a
CLEANUP: Remove DOMAINNAME-based local client tracking

The ircd tracked "local clients" by matching connected users'
sockhost against *DOMAINNAME, a relic from when IRC servers ran
at universities and tracking same-host users was meaningful.
This is no longer a relevant metric.

Removes:
- lu_lulocal variable and all DOMAINNAME mask matching in
  check_lusers(), m_lusers(), and exit_one_client()
- local_count field from current_load_struct and load_entry
- DOMAINNAME define from config.h and setup.h
- The "DOMAINNAME clients" row from userload stats output

Keeps:
- lu_lu / m_client (MyConnect clients = clients connected to this
  server) which is the standard IRC "local users" for LUSERS
- All global user counters and max tracking

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
include/common.h
include/config.h
include/setup.h
include/userload.h
src/ircd.c
src/s_misc.c
src/s_serv.c
src/userload.c