Hi All-

We're trying to set up the bot to connect to our private irc server, that allows only ssl connections. There was surprisingly little info on this, so thought I'd mention it. Here's a duct tape work-around for now, but it would be nice if this was better integrated into the module.

1.) Set the IRC server to "ssl://irc.servername.com". Note the leading ssl://.
2.) In bot_start.php, line 55, change TRUE to FALSE so the line reads:
$irc->setUseSockets(FALSE); // uses real sockets instead of fsock().

That should do it.

Would it make sense to have the bot_start.php detect if the server name started with "ssl://", and then adjust the setting? I haven't tried making a permanent fix yet until I at least get the bot up and running so we can really put it to use.

Thanks,
Jason

Comments

morbus iff’s picture

Status: Active » Fixed

Check 6.x-dev. This option is available at admin/settings/bot.

morbus iff’s picture

morbus iff’s picture

Incidentally, I would /heartily/ recommend you use -dev. That's what
Druplicon uses, and there's plenty of tasty and yummy updates in there.

jmarkantes’s picture

Awesome, thanks! I usually wouldn't use a dev system in production but will take a look.

Thanks,
Jason

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.