From dc0c8e30881b5b552ac0955b76e194d050565704 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Thu, 16 Nov 2017 15:55:00 +0100 Subject: [PATCH] Fixed .defprefix, closes #1837 --- NadekoBot.Core/Modules/Administration/PrefixCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot.Core/Modules/Administration/PrefixCommands.cs b/NadekoBot.Core/Modules/Administration/PrefixCommands.cs index 617ebc30..c8a981b2 100644 --- a/NadekoBot.Core/Modules/Administration/PrefixCommands.cs +++ b/NadekoBot.Core/Modules/Administration/PrefixCommands.cs @@ -35,7 +35,7 @@ namespace NadekoBot.Modules.Administration [NadekoCommand, Usage, Description, Aliases] [OwnerOnly] - public async Task DefPrefix([Remainder]string prefix) + public async Task DefPrefix([Remainder]string prefix = null) { if (string.IsNullOrWhiteSpace(prefix)) {