Browse Source

make comment consistent with review fix

tags/v2.2.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
be138e4d71
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/strings.go

+ 1
- 1
irc/strings.go View File

53
 // XXX analogous unsynchronized global variable controlling utf8 validation
53
 // XXX analogous unsynchronized global variable controlling utf8 validation
54
 // if this is off, you get the traditional IRC behavior (relaying any valid RFC1459
54
 // if this is off, you get the traditional IRC behavior (relaying any valid RFC1459
55
 // octets) and invalid utf8 messages are silently dropped for websocket clients only.
55
 // octets) and invalid utf8 messages are silently dropped for websocket clients only.
56
-// if this is on, invalid utf8 inputs get an ERR_UNKNOWNERROR.
56
+// if this is on, invalid utf8 inputs get a FAIL reply.
57
 var globalUtf8EnforcementSetting bool
57
 var globalUtf8EnforcementSetting bool
58
 
58
 
59
 // Each pass of PRECIS casefolding is a composition of idempotent operations,
59
 // Each pass of PRECIS casefolding is a composition of idempotent operations,

Loading…
Cancel
Save