|
@@ -813,6 +813,13 @@ func nsInfoHandler(service *ircService, server *Server, client *Client, command
|
813
|
813
|
service.Notice(rb, fmt.Sprintf(client.t("Account: %s"), account.Name))
|
814
|
814
|
registeredAt := account.RegisteredAt.Format(time.RFC1123)
|
815
|
815
|
service.Notice(rb, fmt.Sprintf(client.t("Registered at: %s"), registeredAt))
|
|
816
|
+
|
|
817
|
+ if account.Name == client.AccountName() || client.HasRoleCapabs("accreg") {
|
|
818
|
+ if account.Email != "" {
|
|
819
|
+ service.Notice(rb, fmt.Sprintf(client.t("Email address: %s"), account.Email))
|
|
820
|
+ }
|
|
821
|
+ }
|
|
822
|
+
|
816
|
823
|
// TODO nicer formatting for this
|
817
|
824
|
for _, nick := range account.AdditionalNicks {
|
818
|
825
|
service.Notice(rb, fmt.Sprintf(client.t("Additional grouped nick: %s"), nick))
|