diff options
Diffstat (limited to 'EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoSuchNickError.java')
-rw-r--r-- | EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoSuchNickError.java | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoSuchNickError.java b/EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoSuchNickError.java deleted file mode 100644 index 664a2c9d0..000000000 --- a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoSuchNickError.java +++ /dev/null @@ -1,47 +0,0 @@ -package f00f.net.irc.martyr.errors; - -import f00f.net.irc.martyr.InCommand; -import f00f.net.irc.martyr.util.FullNick; - -/** - * Code: 401 ERR_NOSUCHNICK - * <nickname> :No such nick/channel - * Used to indicated the nickname parameter supplied to a command is currently unused. - */ -public class NoSuchNickError extends GenericError -{ - private FullNick nick; - private String errorMessage; - - public NoSuchNickError() - { - } - - public NoSuchNickError(FullNick nick, String errorMessage) - { - this.nick = nick; - this.errorMessage = errorMessage; - } - - public String getIrcIdentifier() - { - return "401"; - } - - public InCommand parse( String prefix, String identifier, String params ) - { - return new NoSuchNickError(new FullNick(getParameter(params, 1)), getParameter(params, 2)); - } - - public FullNick getNick() - { - return nick; - } - - public String getErrorMessage() - { - return errorMessage; - } - -} - |