Skip to content

Commit 288cc29

Browse files
committed
Be consistent
1 parent 844ca7d commit 288cc29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ArchiSteamFarm/Bot.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -990,8 +990,8 @@ private async Task<string> ResponseOwns(ulong steamID, string query) {
990990
}
991991
}
992992

993-
private static async Task<string> ResponseOwns(ulong steamID, string botName, string games) {
994-
if (steamID == 0 || string.IsNullOrEmpty(botName) || string.IsNullOrEmpty(games)) {
993+
private static async Task<string> ResponseOwns(ulong steamID, string botName, string query) {
994+
if (steamID == 0 || string.IsNullOrEmpty(botName) || string.IsNullOrEmpty(query)) {
995995
return null;
996996
}
997997

@@ -1000,7 +1000,7 @@ private static async Task<string> ResponseOwns(ulong steamID, string botName, st
10001000
return "Couldn't find any bot named " + botName + "!";
10011001
}
10021002

1003-
return await bot.ResponseOwns(steamID, games).ConfigureAwait(false);
1003+
return await bot.ResponseOwns(steamID, query).ConfigureAwait(false);
10041004
}
10051005

10061006
private async Task<string> ResponsePlay(ulong steamID, HashSet<uint> gameIDs) {

0 commit comments

Comments
 (0)