mirror of
https://github.com/fluffle/goirc
synced 2025-09-06 00:43:20 +00:00
Split handlers up into three groups.
This commit is contained in:
parent
12eb9c89eb
commit
144001d109
5 changed files with 44 additions and 15 deletions
|
@ -26,7 +26,7 @@ var stHandlers = map[string]HandlerFunc{
|
|||
|
||||
func (conn *Conn) addSTHandlers() {
|
||||
for n, h := range stHandlers {
|
||||
conn.stRemovers = append(conn.stRemovers, conn.Handle(n, h))
|
||||
conn.stRemovers = append(conn.stRemovers, conn.handle(n, h))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue