[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    make_it_cool: kdenetwork/kopete/protocols/irc
From:       Richard Smith <kde () metafoo ! co ! uk>
Date:       2003-11-06 14:24:44
[Download RAW message or body]

CVS commit by lilachaze: 

Fix a crash when someone changes nicks and someone else switches to their
old nick (IRC). (forward port to make_it_cool)


  M +1 -1      irccontactmanager.cpp   1.9.2.1


--- kdenetwork/kopete/protocols/irc/irccontactmanager.cpp  #1.9:1.9.2.1
@@ -67,5 +67,5 @@ void IRCContactManager::slotNewNickChang
         {
                 m_users[ newnick ] = c;
-                m_users[ oldnick ] = 0L;
+                m_users.remove(oldnick);
         }
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic