1
0
Fork 0
forked from External/ergo

nickserv: Fix help display

This commit is contained in:
Daniel Oaks 2018-02-03 19:00:27 +10:00
parent 6784cf82bf
commit 29266ce80f
2 changed files with 7 additions and 0 deletions

View file

@ -815,6 +815,11 @@ func (client *Client) Notice(text string) {
}
lines := wordWrap(text, limit)
// force blank lines to be sent if we receive them
if len(lines) == 0 {
lines = []string{""}
}
for _, line := range lines {
client.Send(nil, client.server.name, "NOTICE", client.nick, line)
}