bugfix: emit nil event

pull/61/head
QLeelulu 2018-02-24 15:49:58 +08:00
parent 9ff3c7eec1
commit 5a1d0fe590
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func On(name string, fs ...func(interface{})) error {
}
for _, f := range fs {
if fs == nil {
if f == nil {
continue
}