Fixed .defprefix, closes #1837

This commit is contained in:
Master Kwoth 2017-11-16 15:55:00 +01:00
parent 62a2c7689f
commit dc0c8e3088

View File

@ -35,7 +35,7 @@ namespace NadekoBot.Modules.Administration
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]
[OwnerOnly] [OwnerOnly]
public async Task DefPrefix([Remainder]string prefix) public async Task DefPrefix([Remainder]string prefix = null)
{ {
if (string.IsNullOrWhiteSpace(prefix)) if (string.IsNullOrWhiteSpace(prefix))
{ {