3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-23 03:02:48 +01:00
Channels with slashes (or other relaymsg separators) in their names
were being falsely detected as relaymsg identifiers.
This commit is contained in:
Shivaram Lingamneni 2024-01-03 14:37:55 -05:00
parent 15c074078a
commit 580fc7096d

View File

@ -1568,6 +1568,10 @@ func (config *Config) isRelaymsgIdentifier(nick string) bool {
return false
}
if strings.HasPrefix(nick, "#") {
return false // #2114
}
for _, char := range config.Server.Relaymsg.Separators {
if strings.ContainsRune(nick, char) {
return true