mirror of
https://github.com/xCryptic/MegaKeep.git
synced 2024-11-24 19:12:32 +01:00
Update MegaKeep.cs
This commit is contained in:
parent
8a37cc9fdc
commit
9638d93660
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user