mirror of
https://github.com/xCryptic/MegaKeep.git
synced 2024-11-25 03:22:29 +01:00
Merge pull request #9 from jogerj/master
This commit is contained in:
commit
10a4d09007
@ -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];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user