1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-08-13 16:53:50 -04:00

Use selected charset

This commit is contained in:
Sebastian Kaspari 2010-04-05 22:37:07 +02:00
parent e78a53cae9
commit 72b5a69cc3

View File

@ -69,6 +69,10 @@ public class IRCBinder extends Binder
connection.setIdent(server.getIdentity().getIdent());
connection.setRealName(server.getIdentity().getRealName());
if (server.getCharset() != null) {
connection.setEncoding(server.getCharset());
}
if (server.getPassword() != "") {
connection.connect(server.getHost(), server.getPort(), server.getPassword());
} else {