3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 00:19:29 +01:00

Merge pull request #2115 from slingamn/issue2114_relaymsg

fix #2114
This commit is contained in:
Shivaram Lingamneni 2024-01-04 01:03:57 -05:00 committed by GitHub
commit 1d8bbde95c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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