aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/modify-labels.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/modify-labels.go')
-rw-r--r--commands/msg/modify-labels.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/msg/modify-labels.go b/commands/msg/modify-labels.go
index 8cc72f2a..e2637805 100644
--- a/commands/msg/modify-labels.go
+++ b/commands/msg/modify-labels.go
@@ -13,7 +13,11 @@ type ModifyLabels struct {
}
func init() {
- register(ModifyLabels{})
+ commands.Register(ModifyLabels{})
+}
+
+func (ModifyLabels) Context() commands.CommandContext {
+ return commands.MESSAGE
}
func (ModifyLabels) Aliases() []string {