소스 검색

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

Loading…
취소
저장