From 288cc29338dd061e00cefbe059c342af0d2ba1bb Mon Sep 17 00:00:00 2001 From: JustArchi Date: Fri, 8 Apr 2016 03:58:46 +0200 Subject: [PATCH] Be consistent --- ArchiSteamFarm/Bot.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 821c64875..42f03a526 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -990,8 +990,8 @@ namespace ArchiSteamFarm { } } - private static async Task ResponseOwns(ulong steamID, string botName, string games) { - if (steamID == 0 || string.IsNullOrEmpty(botName) || string.IsNullOrEmpty(games)) { + private static async Task ResponseOwns(ulong steamID, string botName, string query) { + if (steamID == 0 || string.IsNullOrEmpty(botName) || string.IsNullOrEmpty(query)) { return null; } @@ -1000,7 +1000,7 @@ namespace ArchiSteamFarm { return "Couldn't find any bot named " + botName + "!"; } - return await bot.ResponseOwns(steamID, games).ConfigureAwait(false); + return await bot.ResponseOwns(steamID, query).ConfigureAwait(false); } private async Task ResponsePlay(ulong steamID, HashSet gameIDs) {