From d9842694078295f96fa3c10ce214300665c43b12 Mon Sep 17 00:00:00 2001 From: Zorchenhimer Date: Sat, 16 Mar 2019 16:59:12 -0400 Subject: [PATCH] Add mod notice to /modpass command --- chatcommands.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chatcommands.go b/chatcommands.go index 4cf7504..0353cc6 100644 --- a/chatcommands.go +++ b/chatcommands.go @@ -243,6 +243,7 @@ var commands = &CommandControl{ common.CNModpass.String(): Command{ HelpText: "Generate a single-use mod password.", Function: func(cl *Client, args []string) string { + cl.belongsTo.AddModNotice(cl.name + " generated a mod password") password := cl.belongsTo.generateModPass() return "Single use password: " + password },