From 5d12e48f44ffdf98f245a2fb65e2c0f1fe5e8bf6 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 2 Jan 2017 15:43:27 +0100 Subject: [PATCH] Fixed .resetperms --- src/NadekoBot/Services/CommandHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Services/CommandHandler.cs b/src/NadekoBot/Services/CommandHandler.cs index e5ce4338..2da1e785 100644 --- a/src/NadekoBot/Services/CommandHandler.cs +++ b/src/NadekoBot/Services/CommandHandler.cs @@ -263,7 +263,7 @@ namespace NadekoBot.Services } var cmd = commands[i].Command; - bool resetCommand = cmd.Name == "ResetPermissions"; + bool resetCommand = cmd.Name == "resetperms"; var module = cmd.Module.GetTopLevelModule(); PermissionCache pc; if (context.Guild != null)