Selaa lähdekoodia

Modes should default to "" not null

pull/99/head
Shane Mc Cormack 8 vuotta sitten
vanhempi
commit
f0e64e8e98
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      irc/src/com/dmdirc/parser/irc/IRCChannelInfo.java

+ 1
- 1
irc/src/com/dmdirc/parser/irc/IRCChannelInfo.java Näytä tiedosto

@@ -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. */

Loading…
Peruuta
Tallenna