diff options
Diffstat (limited to 'EssentialsUpdate/src/f00f/net/irc/martyr/errors/NotOnChannelError.java')
-rw-r--r-- | EssentialsUpdate/src/f00f/net/irc/martyr/errors/NotOnChannelError.java | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/NotOnChannelError.java b/EssentialsUpdate/src/f00f/net/irc/martyr/errors/NotOnChannelError.java deleted file mode 100644 index 8c1346012..000000000 --- a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/NotOnChannelError.java +++ /dev/null @@ -1,47 +0,0 @@ -package f00f.net.irc.martyr.errors; - -import f00f.net.irc.martyr.InCommand; - -/** - * Code: 442 ERR_NOTONCHANNEL - * <channel> :You're not on that channel - * Returned by the server whenever a client tries to perform a channel effecting command for which the - * client isn't a member. - */ -public class NotOnChannelError extends GenericError -{ - private String channel; - private String errorMessage; - - public NotOnChannelError() - { - } - - public NotOnChannelError(String channel, String errorMessage) - { - this.channel = channel; - this.errorMessage = errorMessage; - } - - public String getIrcIdentifier() - { - return "442"; - } - - public InCommand parse( String prefix, String identifier, String params ) - { - return new NotOnChannelError(getParameter(params, 1), getParameter(params, 2)); - } - - public String getChannel() - { - return channel; - } - - public String getErrorMessage() - { - return errorMessage; - } - -} - |