Fixed .resetperms

This commit is contained in:
Kwoth 2017-01-02 15:43:27 +01:00
parent 4f771873fc
commit 5d12e48f44

View File

@ -263,7 +263,7 @@ namespace NadekoBot.Services
} }
var cmd = commands[i].Command; var cmd = commands[i].Command;
bool resetCommand = cmd.Name == "ResetPermissions"; bool resetCommand = cmd.Name == "resetperms";
var module = cmd.Module.GetTopLevelModule(); var module = cmd.Module.GetTopLevelModule();
PermissionCache pc; PermissionCache pc;
if (context.Guild != null) if (context.Guild != null)