Skip to content

Instantly share code, notes, and snippets.

@EntityReborn
EntityReborn / SASL.java
Last active December 10, 2015 01:08 — forked from anonymous/SASL.java
public class SASL extends ListenerAdapter {
String user = "user"; // Change accordingly!
String password = "password"; // Change accordingly!
boolean connected = false;
@Override
public void onMotd(MotdEvent event) throws Exception {
connected = true;
}