mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 04:38:08 -05:00
Use selected charset
This commit is contained in:
parent
e78a53cae9
commit
72b5a69cc3
@ -69,6 +69,10 @@ public class IRCBinder extends Binder
|
|||||||
connection.setIdent(server.getIdentity().getIdent());
|
connection.setIdent(server.getIdentity().getIdent());
|
||||||
connection.setRealName(server.getIdentity().getRealName());
|
connection.setRealName(server.getIdentity().getRealName());
|
||||||
|
|
||||||
|
if (server.getCharset() != null) {
|
||||||
|
connection.setEncoding(server.getCharset());
|
||||||
|
}
|
||||||
|
|
||||||
if (server.getPassword() != "") {
|
if (server.getPassword() != "") {
|
||||||
connection.connect(server.getHost(), server.getPort(), server.getPassword());
|
connection.connect(server.getHost(), server.getPort(), server.getPassword());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user