|
@@ -65,10 +65,11 @@ public class Process004005 extends IRCProcessor {
|
65
|
65
|
} else if (sParam.equals("005")) {
|
66
|
66
|
// 005
|
67
|
67
|
for (int i = 3; i < token.length ; i++) {
|
68
|
|
- String[] Bits = token[i].split("=",2);
|
69
|
|
- final boolean isNegation = (Bits[0].charAt(0) == '-');
|
70
|
|
- final String sKey = (isNegation) ? Bits[0].substring(1).toUpperCase() : Bits[0].toUpperCase();
|
71
|
|
- final String sValue = (Bits.length == 2) ? Bits[1] : "";
|
|
68
|
+ String[] bits = token[i].split("=",2);
|
|
69
|
+ if (bits[0].isEmpty()) { continue; }
|
|
70
|
+ final boolean isNegation = (bits[0].charAt(0) == '-');
|
|
71
|
+ final String sKey = (isNegation) ? bits[0].substring(1).toUpperCase() : bits[0].toUpperCase();
|
|
72
|
+ final String sValue = (bits.length == 2) ? bits[1] : "";
|
72
|
73
|
callDebugInfo(IRCParser.DEBUG_INFO, "%s => %s",sKey,sValue);
|
73
|
74
|
if (isNegation) {
|
74
|
75
|
myParser.h005Info.remove(sKey);
|