浏览代码

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

正在加载...
取消
保存