X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fircuser.cpp;h=32ff7944e0f9c0d56b7c8c8b7a7296d0242d0558;hb=37d656ce099441de15b3015e95ec088079b43e73;hp=543f2b716f0a96293de0c894b6e84b51cc90e9b4;hpb=695758015a80eb8c158a9ac4c0f1c0b547e70df3;p=quassel.git diff --git a/src/common/ircuser.cpp b/src/common/ircuser.cpp index 543f2b71..32ff7944 100644 --- a/src/common/ircuser.cpp +++ b/src/common/ircuser.cpp @@ -275,12 +275,13 @@ void IrcUser::updateHostmask(const QString &mask) } -void IrcUser::joinChannel(IrcChannel *channel) +void IrcUser::joinChannel(IrcChannel *channel, bool skip_channel_join) { Q_ASSERT(channel); if (!_channels.contains(channel)) { _channels.insert(channel); - channel->joinIrcUser(this); + if (!skip_channel_join) + channel->joinIrcUser(this); } }