Skip to content

Commit

Permalink
IrcNetwork: initialize modes, prefixes & channel types
Browse files Browse the repository at this point in the history
So that such "IRC" networks as Twitch that don't send RPL_ISUPPORT
still get sensible behavior for IrcBufferModel and IrcUserModel, that
is, channels treated as channels.
  • Loading branch information
jpnurmi committed Jan 21, 2016
1 parent 779b0c7 commit 1efac6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ircnetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ IRC_BEGIN_NAMESPACE
*/

#ifndef IRC_DOXYGEN
IrcNetworkPrivate::IrcNetworkPrivate() : q_ptr(0), initialized(false)
IrcNetworkPrivate::IrcNetworkPrivate() : q_ptr(0), initialized(false), modes("ov"), prefixes("@+"), channelTypes("#")
{
}

Expand Down

0 comments on commit 1efac6b

Please sign in to comment.