Pārlūkot izejas kodu

Modes should default to "" not null

pull/99/head
Shane Mc Cormack 8 gadus atpakaļ
vecāks
revīzija
f0e64e8e98
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      irc/src/com/dmdirc/parser/irc/IRCChannelInfo.java

+ 1
- 1
irc/src/com/dmdirc/parser/irc/IRCChannelInfo.java Parādīt failu

@@ -61,7 +61,7 @@ public class IRCChannelInfo implements ChannelInfo {
61 61
     /** Has this channel ever had a topic? */
62 62
     private boolean hadTopic;
63 63
     /** Known boolean-modes for channel. */
64
-    private String modes;
64
+    private String modes = "";
65 65
     /** Reference to the parser object that owns this channel, Used for modes. */
66 66
     private final IRCParser parser;
67 67
     /** Mode manager to use for user modes. */

Notiek ielāde…
Atcelt
Saglabāt