mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
Comment and test cleanups
- Comments that named something else now name their own function: ircd member, imageboard srcPath and linker, forum when, redirect and errNoArea, textui sheetDraw.first; a stray comment in rest.go gone. - confui: changeLines uses diffLines instead of repeating it. - nntp: accept_from names are looked up when the configuration loads (start and reload), now said in the code and the wiki. - Tests: tnClient.read grows its buffer for a command split at its end (a full buffer read nothing for ever); freeAddr folded into freeTCP; zipOf is a helper. - go3270-sec 6c7224e: its comment fixes and gfxtest tidying. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
This commit is contained in:
16 files changed
+24
-34
No files matched your search
@@ -255,7 +255,6 @@ func (s *Server) agent(r *http.Request) *bbs.Node {
|
||||
return s.B.Agent(whoOf(r).user, "api")
|
||||
}
|
||||
|
||||
// lines splits a body into lines for the BBS's editor's checks.
|
||||
// --- login
|
||||
|
||||
// login: a session token for a name and password, checked and throttled
|
||||
|
||||
Reference in new issue
Block a user