3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +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
}
if strings.HasPrefix(nick, "#") {
return false // #2114
}
for _, char := range config.Server.Relaymsg.Separators {
if strings.ContainsRune(nick, char) {
return true