aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msgview/msgview.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msgview/msgview.go')
-rw-r--r--commands/msgview/msgview.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msgview/msgview.go b/commands/msgview/msgview.go
index f0e42ad1..d60549ee 100644
--- a/commands/msgview/msgview.go
+++ b/commands/msgview/msgview.go
@@ -8,9 +8,9 @@ var (
MessageViewCommands *commands.Commands
)
-func register(name string, cmd commands.AercCommand) {
+func register(cmd commands.Command) {
if MessageViewCommands == nil {
MessageViewCommands = commands.NewCommands()
}
- MessageViewCommands.Register(name, cmd)
+ MessageViewCommands.Register(cmd)
}