Parcourir la source

Rather than raising the user-error then continuing anyway knowing its going to fail, just continue on to the next mode.

Fixes issue 3104.

Change-Id: I6e9b5c3a3d0e9d3cbe6aa9ef3252650509a610eb
Reviewed-on: http://gerrit.dmdirc.com/87
Reviewed-by: Chris Smith <chris@dmdirc.com>
Tested-by: Chris Smith <chris@dmdirc.com>
tags/0.6.3
Shane Mc Cormack il y a 14 ans
Parent
révision
9ab7685689
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      src/com/dmdirc/parser/irc/ProcessMode.java

+ 1
- 0
src/com/dmdirc/parser/irc/ProcessMode.java Voir le fichier

@@ -175,6 +175,7 @@ public class ProcessMode extends IRCProcessor {
175 175
                     
176 176
                     if ((bPositive || nValue == IRCParser.MODE_LIST || ((nValue & IRCParser.MODE_UNSET) == IRCParser.MODE_UNSET)) && (sModestr.length <= nParam)) {
177 177
                         myParser.callErrorInfo(new ParserError(ParserError.ERROR_FATAL + ParserError.ERROR_USER, "Broken Modes. Parameter required but not given.", myParser.getLastLine()));
178
+                        continue;
178 179
                     }
179 180
                     
180 181
                     if (nValue == IRCParser.MODE_LIST) {

Chargement…
Annuler
Enregistrer