瀏覽代碼

add # to disfavoredNameCharacters

Partially fixes #1679, not sure whether to police the relaymsg config or not
tags/v2.8.0-rc1
Shivaram Lingamneni 2 年之前
父節點
當前提交
b83479247e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      irc/strings.go

+ 1
- 1
irc/strings.go 查看文件

35
 	// #1436: we discovered that these characters are problematic,
35
 	// #1436: we discovered that these characters are problematic,
36
 	// so we're disallowing them in new nicks/account names, but allowing
36
 	// so we're disallowing them in new nicks/account names, but allowing
37
 	// previously registered names
37
 	// previously registered names
38
-	disfavoredNameCharacters = `<>'";`
38
+	disfavoredNameCharacters = `<>'";#`
39
 )
39
 )
40
 
40
 
41
 var (
41
 var (

Loading…
取消
儲存