Archived
1
0
This commit is contained in:
Jeff 2017-04-20 17:47:33 -04:00
parent 238ce08337
commit aca6a0dfa4

View File

@ -89,7 +89,11 @@ func (self simpleModEvent) Reason() string {
}
func (self simpleModEvent) Target() string {
return strings.Split(string(self), " ")[1]
parts := strings.Split(string(self), " ")
if len(parts) > 1 {
return parts[1]
}
return ""
}
func (self simpleModEvent) Scope() string {