aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/archive.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/archive.go')
-rw-r--r--commands/msg/archive.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/msg/archive.go b/commands/msg/archive.go
index a46cc986..13f53290 100644
--- a/commands/msg/archive.go
+++ b/commands/msg/archive.go
@@ -35,7 +35,11 @@ func (a *Archive) ParseArchiveType(arg string) error {
}
func init() {
- register(Archive{})
+ commands.Register(Archive{})
+}
+
+func (Archive) Context() commands.CommandContext {
+ return commands.MESSAGE
}
func (Archive) Aliases() []string {