closes #1079
This commit is contained in:
parent
fff6cb4024
commit
8ae3d0c5e5
@ -48,8 +48,6 @@ namespace NadekoBot.Modules.Games
|
|||||||
{
|
{
|
||||||
var channel = (ITextChannel)Context.Channel;
|
var channel = (ITextChannel)Context.Channel;
|
||||||
|
|
||||||
if (!(Context.User as IGuildUser).GuildPermissions.ManageChannels)
|
|
||||||
return;
|
|
||||||
if (string.IsNullOrWhiteSpace(arg) || !arg.Contains(";"))
|
if (string.IsNullOrWhiteSpace(arg) || !arg.Contains(";"))
|
||||||
return;
|
return;
|
||||||
var data = arg.Split(';');
|
var data = arg.Split(';');
|
||||||
|
Loading…
Reference in New Issue
Block a user