Changeset 662 in code for trunk/irc.go


Ignore:
Timestamp:
Nov 2, 2021, 9:38:07 PM (4 years ago)
Author:
contact
Message:

Add title config option

Closes: https://todo.sr.ht/~emersion/soju/146

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/irc.go

    r661 r662  
    762762        }
    763763}
     764
     765var isupportEncoder = strings.NewReplacer(" ", "\\x20", "\\", "\\x5C")
     766
     767func encodeISUPPORT(s string) string {
     768        return isupportEncoder.Replace(s)
     769}
Note: See TracChangeset for help on using the changeset viewer.