Build the monolithic client (-DWANT_MONO=ON) by default again, as it's usable now
[quassel.git] / src / core / ircserverhandler.cpp
index 4d32f1d..4f5206a 100644 (file)
@@ -438,7 +438,7 @@ void IrcServerHandler::handleQuit(const QString &prefix, const QList<QByteArray>
   foreach(QString channel, ircuser->channels())
     emit displayMsg(Message::Quit, BufferInfo::ChannelBuffer, channel, msg, prefix);
 
-  network()->removeIrcUser(nickFromMask(prefix));
+  ircuser->quit();
 }
 
 void IrcServerHandler::handleTopic(const QString &prefix, const QList<QByteArray> &params) {