Changeset 4799

Show
Ignore:
Timestamp:
01/03/07 01:07:38 (20 months ago)
Author:
emostar
Message:

Fix the crash from #1469

Auth requests from new users were causing a crash

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/src/icqd-srv.cpp

    r4783 r4799  
    49204920      { 
    49214921            ICQUser *u = gUserManager.FetchUser(nUin, LOCK_R); 
    4922             bool bIgnore = u->IgnoreList(); 
    4923             gUserManager.DropUser(u); 
     4922            bool bIgnore = false; 
     4923            if (u) 
     4924            { 
     4925              bIgnore = u->IgnoreList(); 
     4926              gUserManager.DropUser(u); 
     4927            } 
    49244928 
    49254929            if (bIgnore)