super3 / IRC-Bot

A very little basic IRCBot that will get improved over the next time.
http://www.wildphp.com
102 stars 47 forks source link

No SSL support #30

Closed ghost closed 11 years ago

ghost commented 11 years ago

I can't connect with the bot to a server with SSL support. Is it possible to implement this?

ElvenSpellmaker commented 11 years ago

Have you tried prepending ssl:// or tls:// to your URL in the config?

So if you were connecting to "irc.example.com" then you'd put "'server' => 'ssl://irc.example.com'," into the config.

This assumes you have OpenSSL installed of course.

ElvenSpellmaker commented 11 years ago

I don't know if that would work, but it's worth a shot.

ghost commented 11 years ago

It worked, thats great!

Thank you.

ElvenSpellmaker commented 11 years ago

You're welcome! =)

ElvenSpellmaker commented 11 years ago

Also if you look at my version of this bot then you can specify channel passwords and server passwords which pogo doesn't currently support. =)

ghost commented 11 years ago

I have your changes done to my code already :)

And that are great changes, cause i needed server password to connect to my bouncer :+1: