Skip to content

Commit

Permalink
Send permission command as "gm" in case of error
Browse files Browse the repository at this point in the history
  • Loading branch information
manveti committed May 12, 2015
1 parent 38b459d commit 736d55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HiddenRolls/hidden.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ var HiddenRolls = HiddenRolls || {
Shell.registerCommand("!hidetotal", "!hidetotal [--verbose] command", "Display only raw rolls in command", HiddenRolls.handleHideMessage);
Shell.registerCommand("!hidetotals", "!hidetotals [--verbose] command", "Display only raw rolls in command", HiddenRolls.handleHideMessage);
Shell.registerCommand("!hideall", "!hideall [--verbose] command", "Only show results of command to GM", HiddenRolls.handleHideMessage);
Shell.permissionCommand(["!shell-permission", "add", "!hideall"], {'who': "HR"});
Shell.permissionCommand(["!shell-permission", "add", "!hideall"], {'who': "gm"});
if (Shell.write){
HiddenRolls.write = Shell.write;
}
Expand Down

0 comments on commit 736d55a

Please sign in to comment.