소스 검색

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

labeled-response-all
Daniel Oaks 3 년 전
부모
커밋
5f9a66aaa2
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      irc/config.go

+ 3
- 0
irc/config.go 파일 보기

@@ -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)

Loading…
취소
저장