mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-28 17:58:15 -07:00
nickserv: Fix help display
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user