summaryrefslogtreecommitdiff
path: root/auth/telnet.php
diff options
context:
space:
mode:
Diffstat (limited to 'auth/telnet.php')
-rw-r--r--auth/telnet.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/telnet.php b/auth/telnet.php
index 6e4064e..f490148 100644
--- a/auth/telnet.php
+++ b/auth/telnet.php
@@ -27,7 +27,7 @@ final class Telnet extends Authentication {
public function __construct($config) {
parent::__construct($config);
- $this->port = isset($this->config['port']) ? $this->config['port'] : 23;
+ $this->port = isset($this->config['port']) ? (int) $this->config['port'] : 23;
}
protected function check_config() {