Merge pull request #10 from arnt/master

Here's my one-liner to avoid WTF-8 without depending on the locale to be "right"
This commit is contained in:
Jan Kaluza 2012-07-17 06:40:42 -07:00
commit ff62fff115

View file

@ -58,6 +58,7 @@ void SingleIRCNetworkPlugin::handleLoginRequest(const std::string &user, const s
session->setRealName(FROM_UTF8(legacyName));
session->setHost(FROM_UTF8(m_server));
session->setPort(6667);
session->setEncoding( "utf-8" );
if (!password.empty()) {
std::string identify = m_identify;