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