-rw-r--r-- | noncore/net/opieirc/ircsession.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircsession.cpp b/noncore/net/opieirc/ircsession.cpp index c8d7869..d87ff80 100644 --- a/noncore/net/opieirc/ircsession.cpp +++ b/noncore/net/opieirc/ircsession.cpp @@ -142,2 +142,3 @@ void IRCSession::updateNickname(const QString &oldNickname, const QString &newNi IRCChannelPerson *chanperson = it.current()->getPerson(oldNickname); + if (chanperson) { it.current()->removePerson(chanperson); @@ -146,2 +147,3 @@ void IRCSession::updateNickname(const QString &oldNickname, const QString &newNi } + } |