X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fircuser.cpp;h=22df0c942745d35830434ddd2f52c51802b15e67;hp=eee29a8d908c5a0c6714964ed9b7a263f3291990;hb=c79539bee8761bcabe057d8d72594d16da24528f;hpb=920feae12b62b749299014ce85241165e09b7f4b diff --git a/src/common/ircuser.cpp b/src/common/ircuser.cpp index eee29a8d..22df0c94 100644 --- a/src/common/ircuser.cpp +++ b/src/common/ircuser.cpp @@ -232,7 +232,7 @@ void IrcUser::partChannel(IrcChannel *channel) { disconnect(channel, 0, this, 0); channel->part(this); emit channelParted(channel->name()); - if(_channels.isEmpty() && network()->isMe(this)) + if(_channels.isEmpty() && !network()->isMe(this)) deleteLater(); } }