mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-07 03:38:10 -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.setRealName(server.getIdentity().getRealName());
|
||||
|
||||
if (server.getCharset() != null) {
|
||||
connection.setEncoding(server.getCharset());
|
||||
}
|
||||
|
||||
if (server.getPassword() != "") {
|
||||
connection.connect(server.getHost(), server.getPort(), server.getPassword());
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user