aboutsummaryrefslogtreecommitdiffstats
path: root/commands/quit.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/quit.go')
-rw-r--r--commands/quit.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/quit.go b/commands/quit.go
index e96c9253..aa996422 100644
--- a/commands/quit.go
+++ b/commands/quit.go
@@ -11,7 +11,11 @@ type Quit struct {
}
func init() {
- register(Quit{})
+ Register(Quit{})
+}
+
+func (Quit) Context() CommandContext {
+ return GLOBAL
}
func (Quit) Aliases() []string {