Files
bbs/internal/ircd
Claude 7142bf88ad IRC server: the chat rooms as channels, built on parts of ergo
internal/ircd serves IRC ([irc]: plain and TLS listeners, limits at
once and per address, the deny list and bans).  Users log in with
their BBS names and passwords, by SASL PLAIN or PASS name:password,
throttled and hack-logged like any login; their nicks are their names.
Each connection is a node (via irc): in who's online, reached by node
messages, thrown off by the sysop.

#ROOM is the chat room ROOM: IRC clients talk with callers on
terminals, the web and the API.  PRIVMSG to a nick is a node message;
/me is an emote; pages, mail and notices come as NOTICEs, and a sysop
answers a page by joining #sysop-N.  NAMES, WHO, WHOIS, LIST, ISON,
USERHOST, MOTD, LUSERS; IRCv3 sasl, server-time (history replayed on
join with its times), echo-message, multi-prefix, userhost-in-names.

The protocol's parts are ergo's: messages read and written by its
irc-go library (ircmsg, ircreader, ircfmt), the numerics and the
ISUPPORT list taken from its source under the MIT license
(internal/ircd/LICENSE.ergo).  A node may now be in several rooms at
once (JoinAlso, SayIn, Part) for IRC's channels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-12 19:23:23 +00:00
..