Skip to content

Commit

Permalink
Merge pull request #2 from user123456000/patch-1
Browse files Browse the repository at this point in the history
Update GoogleSheetsModule.cs
  • Loading branch information
AltronMaxX authored Dec 26, 2023
2 parents ad5aefa + fcb275e commit cbc2605
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions handlers/GoogleSheetsModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ private static void ReadEntries()
{
if (values.IndexOf(row) == 0) continue;
string nick = "";
if (row.Count > 3)
nick = row[3].ToString().Trim();
if (row.Count > 4)
nick = row[4].ToString().Trim();
if (gridRow > values.Count - 1) { break; }
bool accepted = false;
try
Expand All @@ -118,7 +118,6 @@ private static void ReadEntries()
{
Program.logError(ex.Message + ex.StackTrace);
}

if (discordAccountsList.ContainsKey(nick))
{
gridRow += 1;
Expand Down

0 comments on commit cbc2605

Please sign in to comment.