fixed a major bug introduced in r456 (segfault on core exit)
[quassel.git] / src / common / ircuser.cpp
index 99f2ae3..64f5d32 100644 (file)
@@ -49,10 +49,6 @@ IrcUser::IrcUser(const QString &hostmask, Network *network)
 }
 
 IrcUser::~IrcUser() {
-  QList<IrcChannel *> channels = _channels.toList();
-  foreach(IrcChannel *channel, channels) {
-    partChannel(channel);
-  }
 }
 
 // ====================