summaryrefslogtreecommitdiff
path: root/routers
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-08-03 23:55:08 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-08-03 23:55:08 +0200
commit5b6dbececd1c158e8fdb1c2458a2be5528ad38b8 (patch)
tree93518bce2a6ef1d5d6ce04f44315e0e74755bbf1 /routers
parentb26e4808e59cd499ead2c42f74bf94ca8f434718 (diff)
Be sure to login and disconnect after each command.
Diffstat (limited to 'routers')
-rw-r--r--routers/router.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/routers/router.php b/routers/router.php
index b47d2d3..d786f94 100644
--- a/routers/router.php
+++ b/routers/router.php
@@ -49,7 +49,6 @@ abstract class Router {
$auth = Authentication::instance($this->config);
try {
- $auth->connect();
$data = '';
foreach ($commands as $selected) {
@@ -57,8 +56,6 @@ abstract class Router {
log_to_file('[client: '.$this->requester.'] '.$this->config['host'].
'> '.$selected);
}
-
- $auth->disconnect();
} catch (Exception $e) {
throw $e;
}