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