mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-29 23:49:25 +01:00
commit
9775b7d318
@ -2724,6 +2724,8 @@ func whoisHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Res
|
|||||||
}
|
}
|
||||||
clientNick := client.Nick()
|
clientNick := client.Nick()
|
||||||
rb.Add(nil, client.server.name, RPL_WHOISUSER, clientNick, service.Name, service.Name, "localhost", "*", fmt.Sprintf(client.t("Network service, for more info /msg %s HELP"), service.Name))
|
rb.Add(nil, client.server.name, RPL_WHOISUSER, clientNick, service.Name, service.Name, "localhost", "*", fmt.Sprintf(client.t("Network service, for more info /msg %s HELP"), service.Name))
|
||||||
|
// #1080:
|
||||||
|
rb.Add(nil, client.server.name, RPL_WHOISOPERATOR, clientNick, service.Name, client.t("is a network service"))
|
||||||
// hehe
|
// hehe
|
||||||
if client.HasMode(modes.TLS) {
|
if client.HasMode(modes.TLS) {
|
||||||
rb.Add(nil, client.server.name, RPL_WHOISSECURE, clientNick, service.Name, client.t("is using a secure connection"))
|
rb.Add(nil, client.server.name, RPL_WHOISSECURE, clientNick, service.Name, client.t("is using a secure connection"))
|
||||||
|
@ -18,6 +18,9 @@ import (
|
|||||||
var (
|
var (
|
||||||
restrictedNicknames = []string{
|
restrictedNicknames = []string{
|
||||||
"=scene=", // used for rp commands
|
"=scene=", // used for rp commands
|
||||||
|
"Global", // global announcements on some networks
|
||||||
|
// common services not implemented by us:
|
||||||
|
"MemoServ", "BotServ", "OperServ",
|
||||||
}
|
}
|
||||||
|
|
||||||
restrictedCasefoldedNicks = make(map[string]bool)
|
restrictedCasefoldedNicks = make(map[string]bool)
|
||||||
|
Loading…
Reference in New Issue
Block a user