summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
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 cd34b7e..02f5f2a 100644
--- a/command.go
+++ b/command.go
@@ -25,7 +25,7 @@ func Register(cmd string, f Commander) {
commands[cmd] = f
}
-const timeOut = 5 * time.Second
+const timeOut = time.Second
func (v *Command) Timeout(nick string) bool {
defer func() { v.lastCmd[nick] = time.Now() }()