Fix accidental removal of /pin and /changeaccess

These were accidentally removed from the command name list.
This commit is contained in:
Zorchenhimer 2019-09-22 16:15:59 -04:00
parent 7ac34c7d05
commit a941e2815e
1 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,7 @@ var (
CNUsers ChatCommandNames = []string{"users"} CNUsers ChatCommandNames = []string{"users"}
CNNick ChatCommandNames = []string{"nick", "name"} CNNick ChatCommandNames = []string{"nick", "name"}
CNStats ChatCommandNames = []string{"stats"} CNStats ChatCommandNames = []string{"stats"}
CNPin ChatCommandNames = []string{"pin", "password"}
// Mod Commands // Mod Commands
CNSv ChatCommandNames = []string{"sv"} CNSv ChatCommandNames = []string{"sv"}
CNPlaying ChatCommandNames = []string{"playing"} CNPlaying ChatCommandNames = []string{"playing"}
@ -30,7 +31,6 @@ var (
CNBan ChatCommandNames = []string{"ban"} CNBan ChatCommandNames = []string{"ban"}
CNUnban ChatCommandNames = []string{"unban"} CNUnban ChatCommandNames = []string{"unban"}
CNPurge ChatCommandNames = []string{"purge"} CNPurge ChatCommandNames = []string{"purge"}
CNPin ChatCommandNames = []string{"pin", "password"}
// Admin Commands // Admin Commands
CNMod ChatCommandNames = []string{"mod"} CNMod ChatCommandNames = []string{"mod"}
CNReloadPlayer ChatCommandNames = []string{"reloadplayer"} CNReloadPlayer ChatCommandNames = []string{"reloadplayer"}
@ -52,6 +52,7 @@ var ChatCommands = []ChatCommandNames{
CNUsers, CNUsers,
CNNick, CNNick,
CNStats, CNStats,
CNPin,
// Mod // Mod
CNSv, CNSv,
@ -69,6 +70,7 @@ var ChatCommands = []ChatCommandNames{
CNModpass, CNModpass,
CNIP, CNIP,
CNAddEmotes, CNAddEmotes,
CNRoomAccess,
} }
func GetFullChatCommand(c string) string { func GetFullChatCommand(c string) string {