X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fircchannel.cpp;h=fd983608024164178ae205b64a94d8a45b0990ce;hp=9a66d809d8c74ac49b1985a8822605cb6a285962;hb=eaba93b703ba5bca4edf09f4c076a00b529115cd;hpb=cb1918d94b5d8ec9f05a192c96fab938782dabf5 diff --git a/src/common/ircchannel.cpp b/src/common/ircchannel.cpp index 9a66d809..fd983608 100644 --- a/src/common/ircchannel.cpp +++ b/src/common/ircchannel.cpp @@ -137,8 +137,10 @@ void IrcChannel::joinIrcUsers(const QList &users, const QStringList & IrcUser *ircuser; for(int i = 0; i < users.count(); i++) { ircuser = users[i]; - if(!ircuser || _userModes.contains(ircuser)) + if(!ircuser || _userModes.contains(ircuser)) { + addUserMode(ircuser, modes[i]); continue; + } _userModes[ircuser] = modes[i]; ircuser->joinChannel(this);