Browse Source

Modes should default to "" not null

pull/99/head
Shane Mc Cormack 8 years ago
parent
commit
f0e64e8e98
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/src/com/dmdirc/parser/irc/IRCChannelInfo.java

+ 1
- 1
irc/src/com/dmdirc/parser/irc/IRCChannelInfo.java View File

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

Loading…
Cancel
Save