Przeglądaj źródła

review fix

tags/v1.1.0-rc1
Shivaram Lingamneni 5 lat temu
rodzic
commit
f996e6bb87
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3
    1
      irc/znc.go

+ 3
- 1
irc/znc.go Wyświetl plik

@@ -25,7 +25,9 @@ func zncModuleHandler(client *Client, command string, params []string, rb *Respo
25 25
 	if subHandler, ok := zncHandlers[command]; ok {
26 26
 		subHandler(client, command, params, rb)
27 27
 	} else {
28
-		rb.Add(nil, "*status!znc@znc.in", "NOTICE", rb.target.Nick(), fmt.Sprintf(client.t("No such module [%s]"), command))
28
+		nick := rb.target.Nick()
29
+		rb.Add(nil, client.server.name, "NOTICE", nick, fmt.Sprintf(client.t("Oragono does not emulate the ZNC module %s"), command))
30
+		rb.Add(nil, "*status!znc@znc.in", "NOTICE", nick, fmt.Sprintf(client.t("No such module [%s]"), command))
29 31
 	}
30 32
 }
31 33
 

Ładowanie…
Anuluj
Zapisz