mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 10:42:52 +01:00
review fix
This commit is contained in:
parent
b96fdb2293
commit
f996e6bb87
@ -25,7 +25,9 @@ func zncModuleHandler(client *Client, command string, params []string, rb *Respo
|
||||
if subHandler, ok := zncHandlers[command]; ok {
|
||||
subHandler(client, command, params, rb)
|
||||
} else {
|
||||
rb.Add(nil, "*status!znc@znc.in", "NOTICE", rb.target.Nick(), fmt.Sprintf(client.t("No such module [%s]"), command))
|
||||
nick := rb.target.Nick()
|
||||
rb.Add(nil, client.server.name, "NOTICE", nick, fmt.Sprintf(client.t("Oragono does not emulate the ZNC module %s"), command))
|
||||
rb.Add(nil, "*status!znc@znc.in", "NOTICE", nick, fmt.Sprintf(client.t("No such module [%s]"), command))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user