forked from External/ergo
nickserv: Fix help display
This commit is contained in:
parent
6784cf82bf
commit
29266ce80f
2 changed files with 7 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue