wording fix
This commit is contained in:
parent
8dfda9ca4f
commit
499007f2d7
@ -56,7 +56,9 @@ type Event struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Extract the last message from an Event. This function eventually returns an empty string.
|
// Retrieve the last message from Event arguments.
|
||||||
|
// This function leaves the arguments untouched and
|
||||||
|
// returns an empty string if there are none.
|
||||||
func (e *Event) Message() string {
|
func (e *Event) Message() string {
|
||||||
if len(e.Arguments) == 0 {
|
if len(e.Arguments) == 0 {
|
||||||
return ""
|
return ""
|
||||||
|
Loading…
Reference in New Issue
Block a user