|
@@ -875,7 +875,7 @@ public class IRCParser implements SecureParser, Runnable {
|
875
|
875
|
*/
|
876
|
876
|
public static String[] tokeniseLine(final String line) {
|
877
|
877
|
if (line == null) {
|
878
|
|
- return new String[]{"", }; // Return empty string[]
|
|
878
|
+ return new String[]{""}; // Return empty string[]
|
879
|
879
|
}
|
880
|
880
|
|
881
|
881
|
final int lastarg = line.indexOf(" :");
|
|
@@ -890,6 +890,7 @@ public class IRCParser implements SecureParser, Runnable {
|
890
|
890
|
tokens = line.split(" ");
|
891
|
891
|
}
|
892
|
892
|
|
|
893
|
+ if (tokens.length < 1) { tokens = new String[]{""}; }
|
893
|
894
|
return tokens;
|
894
|
895
|
}
|
895
|
896
|
|