/* 43x replies are for nick change errors. */
if (command.equals("431")) {
- eventBus.post(new NoNicknameGivenReceived(this, reply));
+ eventBus.post(new NoNicknameGivenReceived(this));
} else if (command.equals("433")) {
if (!established.get()) {
nickname = nicknameChooser.getNickname();
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
-public class NoNicknameGivenReceived extends AbstractReplyEvent {
+public class NoNicknameGivenReceived extends AbstractConnectionEvent {
/**
* Creates a new no nickname given event.
*
* @param connection
* The connection the event occured on
- * @param reply
- * The reply that caused the event
*/
- public NoNicknameGivenReceived(Connection connection, Reply reply) {
- super(connection, reply);
+ public NoNicknameGivenReceived(Connection connection) {
+ super(connection);
}
}