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:
commit
ff62fff115
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue