X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fircchannel.cpp;h=38959aa935ed389f02b5f51d0307d41c589a4dae;hb=e2e5327ccade6baf433598b1b25dfe99cb360028;hp=e6c809f0cb43b5912ad76b5419739f2471edaa24;hpb=1177f164f518b8f47b64f6736d176a995d5c17ed;p=quassel.git diff --git a/src/common/ircchannel.cpp b/src/common/ircchannel.cpp index e6c809f0..38959aa9 100644 --- a/src/common/ircchannel.cpp +++ b/src/common/ircchannel.cpp @@ -164,6 +164,7 @@ void IrcChannel::part(IrcUser *ircuser) { //qDebug() << "PART" << name() << ircuser->nick() << ircUsers().count(); // if you wonder why there is no counterpart to ircUserParted: // the joines are propagted by the ircuser. the signal ircUserParted is only for convenience + disconnect(ircuser, 0, this, 0); emit ircUserParted(ircuser); if(network->isMe(ircuser)) deleteLater(); @@ -241,6 +242,7 @@ void IrcChannel::initSetUserModes(const QVariantMap &usermodes) { } void IrcChannel::ircUserDestroyed() { + qDebug() << "IrcChannel::ircUserDestroyed()"; IrcUser *ircUser = static_cast(sender()); Q_ASSERT(ircUser); _userModes.remove(ircUser);