diff --git a/Modules/Moderation/Moderation.cs b/Modules/Moderation/Moderation.cs index d4a6f19..32467a2 100755 --- a/Modules/Moderation/Moderation.cs +++ b/Modules/Moderation/Moderation.cs @@ -348,7 +348,14 @@ namespace Combot.Modules.Plugins private void KickSelf(CommandMessage command) { string channel = command.Arguments.ContainsKey("Channel") ? command.Arguments["Channel"] : command.Location; - Bot.IRC.Command.SendKick(channel, command.Nick.Nickname); + if (command.Arguments.ContainsKey("Reason")) + { + Bot.IRC.Command.SendKick(channel, command.Nick.Nickname, command.Arguments["Reason"]); + } + else + { + Bot.IRC.Command.SendKick(channel, command.Nick.Nickname); + } } private void ClearChannel(Command curCommand, CommandMessage command)