X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresession.cpp;h=92eeafe34f69f5f82814f6a4c63e3edc8ba0459e;hp=cd75f660c3edb410963764364470fae5051b9a8e;hb=b797e5f581b10a517c30f78cb53f813af741e261;hpb=21d8d7f0a79eeeb541664aa80ce481fdbfc41f09 diff --git a/src/core/coresession.cpp b/src/core/coresession.cpp index cd75f660..92eeafe3 100644 --- a/src/core/coresession.cpp +++ b/src/core/coresession.cpp @@ -50,7 +50,8 @@ CoreSession::CoreSession(UserId uid, Storage *_storage, QObject *parent) foreach(IdentityId id, s.identityIds()) { Identity *i = new Identity(s.identity(id), this); if(!i->isValid()) { - qDebug() << QString("Invalid identity!"); + qDebug() << QString("Invalid identity! Removing..."); + s.removeIdentity(id); delete i; continue; }