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