From a6cbc706beedb493aecf1b08ab69f884830f7d41 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Mon, 20 Jun 2016 00:29:55 +0200 Subject: [PATCH] fixed a bug with -h not showing invite link --- NadekoBot/Modules/Help/Commands/HelpCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot/Modules/Help/Commands/HelpCommand.cs b/NadekoBot/Modules/Help/Commands/HelpCommand.cs index 21ef73a9..512799b6 100644 --- a/NadekoBot/Modules/Help/Commands/HelpCommand.cs +++ b/NadekoBot/Modules/Help/Commands/HelpCommand.cs @@ -30,7 +30,7 @@ namespace NadekoBot.Classes.Help.Commands }; public static string HelpString { get { - var str = string.IsNullOrWhiteSpace(NadekoBot.Creds.ClientId) && !NadekoBot.Config.DontJoinServers + var str = !string.IsNullOrWhiteSpace(NadekoBot.Creds.ClientId) && !NadekoBot.Config.DontJoinServers ? String.Format("To add me to your server, use this link -> \n", NadekoBot.Creds.ClientId) : ""; return str + String.Format(NadekoBot.Config.HelpString, NadekoBot.Config.CommandPrefixes.Help);