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