diff options
Diffstat (limited to 'EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoMotdError.java')
-rw-r--r-- | EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoMotdError.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoMotdError.java b/EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoMotdError.java deleted file mode 100644 index 0f157a33f..000000000 --- a/EssentialsUpdate/src/f00f/net/irc/martyr/errors/NoMotdError.java +++ /dev/null @@ -1,39 +0,0 @@ -package f00f.net.irc.martyr.errors; - -import f00f.net.irc.martyr.InCommand; - -/** - * Code: 422 ERR_NOMOTD - * :MOTD File is missing - * Server's MOTD file could not be opened by the server. - */ -public class NoMotdError extends GenericError -{ - private String errorMessage; - - public NoMotdError() - { - } - - public NoMotdError(String errorMessage) - { - this.errorMessage = errorMessage; - } - - public String getIrcIdentifier() - { - return "422"; - } - - public InCommand parse( String prefix, String identifier, String params ) - { - return new NoMotdError(getParameter(params, 1)); - } - - public String getErrorMessage() - { - return errorMessage; - } - -} - |