forked from External/ergo
Get labeled-reply working just fine
This commit is contained in:
parent
470109461b
commit
e0fa97d344
14 changed files with 526 additions and 472 deletions
|
|
@ -77,7 +77,7 @@ func (rb *ResponseBuffer) AddSplitMessageFromClient(msgid string, from *Client,
|
|||
func (rb *ResponseBuffer) Send() error {
|
||||
// fall out if no messages to send
|
||||
if len(rb.messages) == 0 {
|
||||
return
|
||||
return nil
|
||||
}
|
||||
|
||||
// make batch and all if required
|
||||
|
|
@ -126,3 +126,8 @@ func (rb *ResponseBuffer) Send() error {
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
// Notice sends the client the given notice from the server.
|
||||
func (rb *ResponseBuffer) Notice(text string) {
|
||||
rb.Add(nil, rb.target.server.name, "NOTICE", rb.target.nick, text)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue