Commit 3d8a4afe authored by Luke081515's avatar Luke081515
Browse files

Merge branch '21-use-maxlag-in-all-functions' into 'master'

Resolve "Use maxlag in all functions"

Closes #21

See merge request Cygnus/Cygnus!27
parents b69642f0 7bb58de1
......@@ -37,6 +37,7 @@ class Core extends Password {
if ($assert !== "bot" && $assert !== "user")
throw new Exception("assert has to be 'bot' or 'user'");
$this->assert = $assert;
$this->setMaxlag(5);
$this->start($account);
$this->job = $job;
if ($pUseHTTPS === true)
......@@ -53,7 +54,6 @@ class Core extends Password {
echo "\n***** Starting up....\nVersion: " . $this->version . "\n*****";
$this->ua = "User:" . $this->username . " - " . $this->job . " - " . $this->version;
// change if you need more, default is 5
$this->setMaxlag(5);
}
/** initcurlArgs
* Use this function instead of initcurl if you want to use args or console to tell the bot the password
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment