diff --git a/classes/class_irc.php b/classes/class_irc.php
index 119306ac..c8cdb7cf 100644
--- a/classes/class_irc.php
+++ b/classes/class_irc.php
@@ -33,7 +33,7 @@ public function __construct() {
public function connect() {
//Open a socket to the IRC server
- $this->Socket = fsockopen('ssl://'.BOT_SERVER, BOT_PORT_SSL);
+ $this->Socket = fsockopen('tls://'.BOT_SERVER, BOT_PORT_SSL);
stream_set_blocking($this->Socket, 0);
//create a socket to listen on
diff --git a/sections/forums/newthread.php b/sections/forums/newthread.php
index aee5bb7d..bded690c 100644
--- a/sections/forums/newthread.php
+++ b/sections/forums/newthread.php
@@ -91,7 +91,10 @@
- if (check_perms('forums_polls_create')) { ?>
+
+
+if (check_perms('forums_polls_create')) {
+?>