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

Merge pull request #9 from jogerj/master

This commit is contained in:
Cryptic 2021-01-18 21:11:36 -05:00 committed by GitHub
commit 10a4d09007
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) foreach (var line in lines)
{ {
var info = line.Split(':'); 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 user = info[0];
var pass = info[1]; var pass = info[1];