- Improved the speed of IrcServerHandler (and other BasicHandler
[quassel.git] / src / common / ircchannel.cpp
index 12f70c2..1e567b5 100644 (file)
@@ -169,6 +169,8 @@ void IrcChannel::part(IrcUser *ircuser) {
     // if you wonder why there is no counterpart to ircUserParted:
     // the joines are propagted by the ircuser. the signal ircUserParted is only for convenience
     emit ircUserParted(ircuser);
+    if(network->isMyNick(ircuser))
+       deleteLater();
   }
 }