1
0
mirror of https://github.com/xCryptic/MegaKeep.git synced 2024-11-08 11:12:30 +01:00

Update MegaKeep.cs

This commit is contained in:
jogerj 2020-08-21 16:15:28 +02:00 committed by GitHub
parent 8a37cc9fdc
commit 9638d93660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,13 @@ namespace MegaKeep
foreach (var line in lines)
{
var info = line.Split(':');
// check line format
if (info.Length != 2)
{
// log error and skip if bad user pass format
Log("Colon (:) seperator not found. Error: " + line);
continue;
}
var user = info[0];
var pass = info[1];