about summary refs log tree commit diff stats
path: root/commands/msg/msg.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/msg.go')
-rw-r--r--commands/msg/msg.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/msg.go b/commands/msg/msg.go
index 73755aa..ecf2102 100644
--- a/commands/msg/msg.go
+++ b/commands/msg/msg.go
@@ -8,9 +8,9 @@ var (
 	MessageCommands *commands.Commands
 )
 
-func register(name string, cmd commands.AercCommand) {
+func register(cmd commands.Command) {
 	if MessageCommands == nil {
 		MessageCommands = commands.NewCommands()
 	}
-	MessageCommands.Register(name, cmd)
+	MessageCommands.Register(cmd)
 }