summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-07-21 17:59:45 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-07-21 17:59:45 +0200
commit22e78b68a30c280b558de12db7b44c556d8fe40b (patch)
tree844af0ddda96d77e565293c3a1aabfbc3818c6ab /command.go
parent8bd2d3eebb19cd2641d5a12f6d26f4c13f9d1c0b (diff)
Go parallel
Diffstat (limited to 'command.go')
-rw-r--r--command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.go b/command.go
index 5c973b6..7f11829 100644
--- a/command.go
+++ b/command.go
@@ -45,7 +45,7 @@ func Dispatch(conn *irc.Conn, line *irc.Line) {
if c, ok := commands[cmd]; ok {
if c.WithArgs(len(f)) && !(line.Public() && c.Timeout()) {
log.Println(line.Nick, f)
- go c.Handle(conn, line)
+ c.Handle(conn, line)
}
}
}