mirror of
https://github.com/fluffle/goirc
synced 2025-09-06 00:43:20 +00:00
Run gofmt, since it's clearly been a while.
This commit is contained in:
parent
a674267128
commit
f27e56c8b0
9 changed files with 51 additions and 49 deletions
|
@ -105,7 +105,9 @@ func (hs *hSet) dispatch(conn *Conn, line *Line) {
|
|||
defer hs.RUnlock()
|
||||
ev := strings.ToLower(line.Cmd)
|
||||
list, ok := hs.set[ev]
|
||||
if !ok { return }
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
for hn := list.start; hn != nil; hn = hn.next {
|
||||
go hn.Handle(conn, line)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue