We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d02a26d commit 3c9f188Copy full SHA for 3c9f188
src/bot-modules/tour-ldb-custom/commands.js
@@ -826,7 +826,7 @@ module.exports = {
826
if (!this.can('ldbcustomconfig', this.room)) return this.replyAccessDenied('ldbcustomconfig');
827
}
828
829
- if (Config[leaderboardsId].room && Config[leaderboardsId].room !== room) {
+ if (Config[leaderboardsId].room && Config[leaderboardsId].room !== room && !this.can('ldbcustomconfig', this.room)) {
830
return this.errorReply(this.mlt(44) + " " + Chat.bold(Config[leaderboardsId].name || leaderboardsId) + " " + this.mlt(46) + " <<" + Config[leaderboardsId].room + ">>");
831
832
0 commit comments