summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--routers/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/router.php b/routers/router.php
index cee1c35..303b194 100644
--- a/routers/router.php
+++ b/routers/router.php
@@ -35,7 +35,7 @@ abstract class Router {
$this->requester = $requester;
if (isset($config['routers'][$id]['port'])) {
- $this->port = $config['routers'][$id]['port'];
+ $this->port = (int) $config['routers'][$id]['port'];
}
}