Procházet zdrojové kódy

Send labeled-response=all to indicate we do it for all commands

labeled-response-all
Daniel Oaks před 4 roky
rodič
revize
5f9a66aaa2
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3
    0
      irc/config.go

+ 3
- 0
irc/config.go Zobrazit soubor

@@ -860,6 +860,9 @@ func LoadConfig(filename string) (config *Config, err error) {
860 860
 	config.Server.supportedCaps = caps.NewCompleteSet()
861 861
 	config.Server.capValues = make(caps.Values)
862 862
 
863
+	// indicates that we send labeled responses for ALL commands
864
+	config.Server.capValues[caps.LabeledResponse] = "all"
865
+
863 866
 	err = config.prepareListeners()
864 867
 	if err != nil {
865 868
 		return nil, fmt.Errorf("failed to prepare listeners: %v", err)

Načítá se…
Zrušit
Uložit