diff options
Diffstat (limited to 'EssentialsUpdate/src/f00f/net/irc/martyr/errors/UsersDontMatchError.java')
-rw-r--r-- | EssentialsUpdate/src/f00f/net/irc/martyr/errors/UsersDontMatchError.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/UsersDontMatchError.java b/EssentialsUpdate/src/f00f/net/irc/martyr/errors/UsersDontMatchError.java deleted file mode 100644 index e8fe565e4..000000000 --- a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/UsersDontMatchError.java +++ /dev/null @@ -1,39 +0,0 @@ -package f00f.net.irc.martyr.errors; - -import f00f.net.irc.martyr.InCommand; - -/** - * Code: 502 ERR_USERSDONTMATCH - * :Cant change mode for other users - * Error sent to any user trying to view or change the user mode for a user other than themselves. - */ -public class UsersDontMatchError extends GenericError -{ - private String errorMessage; - - public UsersDontMatchError() - { - } - - public UsersDontMatchError(String errorMessage) - { - this.errorMessage = errorMessage; - } - - public String getIrcIdentifier() - { - return "502"; - } - - public InCommand parse( String prefix, String identifier, String params ) - { - return new UsersDontMatchError(getParameter(params, 1)); - } - - public String getErrorMessage() - { - return errorMessage; - } - -} - |