ffs setgame fixed 101% now

This commit is contained in:
Master Kwoth 2016-01-24 14:07:42 +01:00
parent 21b22add18
commit 796fa10625

View File

@ -317,7 +317,7 @@ namespace NadekoBot.Modules
.Description("Sets the bots game.")
.Parameter("set_game", ParameterType.Unparsed)
.Do(e => {
if (e.User.Id != NadekoBot.OwnerID || e.GetArg("set_game") != null) return;
if (e.User.Id != NadekoBot.OwnerID || e.GetArg("set_game") == null) return;
client.SetGame(e.GetArg("set_game"));
});