From 23844d4103132de1eba539ea1fe8c67a2ce0fcc4 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Thu, 19 Jun 2025 13:22:07 -0400 Subject: [PATCH 1/2] update documentation for globalUtf8EnforcementSetting --- irc/strings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/strings.go b/irc/strings.go index fb5c3da0..03e13c41 100644 --- a/irc/strings.go +++ b/irc/strings.go @@ -73,7 +73,7 @@ var globalCasemappingSetting Casemapping = CasemappingPRECIS // XXX analogous unsynchronized global variable controlling utf8 validation // if this is off, you get the traditional IRC behavior (relaying any valid RFC1459 -// octets) and invalid utf8 messages are silently dropped for websocket clients only. +// octets), and websocket listeners are disabled. // if this is on, invalid utf8 inputs get a FAIL reply. var globalUtf8EnforcementSetting bool From 8f18454e8f977cd83b3d2213bf554859104a99ec Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Thu, 19 Jun 2025 13:25:34 -0400 Subject: [PATCH 2/2] fix help string for HISTORY --- irc/help.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/irc/help.go b/irc/help.go index 55aef6cf..ee1fb762 100644 --- a/irc/help.go +++ b/irc/help.go @@ -238,11 +238,10 @@ Get an explanation of , or "index" for a list of help topics.`, "history": { text: `HISTORY [limit] -Replay message history. can be a channel name, "me" to replay direct -message history, or a nickname to replay another client's direct message -history (they must be logged into the same account as you). [limit] can be -either an integer (the maximum number of messages to replay), or a time -duration like 10m or 1h (the time window within which to replay messages).`, +Replay message history. can be a channel name or a nickname you have +direct message history with. [limit] can be either an integer (the maximum +number of messages to replay), or a time duration like 10m or 1h (the time +window within which to replay messages).`, }, "info": { text: `INFO