Skip to content

Commit

Permalink
Update GoogleSheetsModule.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
AltronMaxX authored Dec 26, 2023
1 parent 0c05bc7 commit fcb275e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion handlers/GoogleSheetsModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private static void ReadEntries()
{
if (values.IndexOf(row) == 0) continue;
string nick = "";
if (row.Count > 3)
if (row.Count > 4)
nick = row[4].ToString().Trim();
if (gridRow > values.Count - 1) { break; }
bool accepted = false;
Expand All @@ -114,6 +114,10 @@ private static void ReadEntries()
}
}
}
catch (Exception ex)
{
Program.logError(ex.Message + ex.StackTrace);
}
if (discordAccountsList.ContainsKey(nick))
{
gridRow += 1;
Expand Down

0 comments on commit fcb275e

Please sign in to comment.