From 67f87733207968dde3bb8d33e568977e2cba06bd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 10 Jun 2020 16:34:45 +0200 Subject: [PATCH] Fix missing appendServiceCommandSetHelp argument --- service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.go b/service.go index e900338..fc66c2c 100644 --- a/service.go +++ b/service.go @@ -79,7 +79,7 @@ func handleServicePRIVMSG(dc *downstreamConn, text string) { if cmd.handle == nil { if len(cmd.children) > 0 { var l []string - appendServiceCommandSetHelp(cmd.children, words, &l) + appendServiceCommandSetHelp(cmd.children, words, dc.user.Admin, &l) sendServicePRIVMSG(dc, "available commands: "+strings.Join(l, ", ")) } else { // Pretend the command does not exist if it has neither children nor handler.