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
1 changed files with 4 additions and 0 deletions

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