Kaynağa Gözat

Merge pull request #1063 from slingamn/history_registeredonly

fix #1061
tags/v2.1.0
Shivaram Lingamneni 4 yıl önce
ebeveyn
işleme
c1d4c5596d
No account linked to committer's email address
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      irc/handlers.go

+ 1
- 1
irc/handlers.go Dosyayı Görüntüle

@@ -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…
İptal
Kaydet