Sfoglia il codice sorgente

Merge pull request #1063 from slingamn/history_registeredonly

fix #1061
tags/v2.1.0
Shivaram Lingamneni 4 anni fa
parent
commit
c1d4c5596d
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      irc/handlers.go

+ 1
- 1
irc/handlers.go Vedi File

@@ -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…
Annulla
Salva