浏览代码

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 14 年前
父节点
当前提交
9ab7685689
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/com/dmdirc/parser/irc/ProcessMode.java

+ 1
- 0
src/com/dmdirc/parser/irc/ProcessMode.java 查看文件

@@ -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) {

正在加载...
取消
保存