CLEANUP: Fix wrong, outdated, and irrelevant comments
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)
commit129d7855e6654b3fc8522b5a0693037ea7d6a9bd
tree8cb3e851127b7a6d2a23032107e722c589c75ce1
parenta750687da66d7df4e381246af3642b64583b1d98
CLEANUP: Fix wrong, outdated, and irrelevant comments

- Remove leftover debug printf() calls in masking.c (one with
  typo /n instead of \n)
- Remove commented-out code: FLAGS_SJOIN, FLAGS_SNICK, UMODE_WEBTV,
  hidden[] struct fields, aJinxItem, old initconf(), pv[4] declarations,
  debuglevel block in ircd.c, fixme/commented code in s_serv.c
- Remove unused #define debug 1 in s_conf.c
- Fix outdated comments: TSpre7 reference in s_numeric.c, DreamForge
  reference in s_ping.c, "KLUDGE to get it work" in s_bsd.c,
  "This used to be the case. Now it no longer is." in s_bsd.c,
  "Impact? Let's see..." in list.c, "Yuck. Stuck." in packet.c
- Replace misleading comments with accurate descriptions
- Add clarifying comments: hash table compare macro, IRC numeric
  parsing, fd remapping on close, server DNS verification

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 files changed:
include/config.h
include/h.h
include/struct.h
src/hash.c
src/ircd.c
src/list.c
src/masking.c
src/packet.c
src/parse.c
src/s_bsd.c
src/s_conf.c
src/s_misc.c
src/s_numeric.c
src/s_ping.c
src/s_serv.c
src/s_user.c