瀏覽代碼

Merge pull request #1063 from slingamn/history_registeredonly

fix #1061
tags/v2.1.0
Shivaram Lingamneni 4 年之前
父節點
當前提交
c1d4c5596d
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      irc/handlers.go

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

@@ -1997,7 +1997,7 @@ func dispatchMessageToTarget(client *Client, tags map[string]string, histType hi
1997 1997
 			AccountName: accountName,
1998 1998
 			Tags:        tags,
1999 1999
 		}
2000
-		if !item.IsStorable() {
2000
+		if !item.IsStorable() || !allowedPlusR {
2001 2001
 			return
2002 2002
 		}
2003 2003
 		targetedItem := item

Loading…
取消
儲存