From 80cc129aac9702cc06b54ece9e90f129b3c824a8 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Wed, 30 Mar 2016 19:21:32 +0200 Subject: [PATCH] Only users with managechannels can use .topic now (permission oversight) --- NadekoBot/Modules/Administration/AdministrationModule.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NadekoBot/Modules/Administration/AdministrationModule.cs b/NadekoBot/Modules/Administration/AdministrationModule.cs index 1a0cbb29..b2508fb2 100644 --- a/NadekoBot/Modules/Administration/AdministrationModule.cs +++ b/NadekoBot/Modules/Administration/AdministrationModule.cs @@ -458,6 +458,7 @@ namespace NadekoBot.Modules.Administration cgb.CreateCommand(Prefix + "st").Alias(Prefix + "settopic") .Alias(Prefix + "topic") .Description("Sets a topic on the current channel.") + .AddCheck(SimpleCheckers.ManageChannels()) .Parameter("topic", ParameterType.Unparsed) .Do(async e => {