[prev in list] [next in list] [prev in thread] [next in thread]
List: licq-cvs
Subject: [Licq-cvs] licq/src
From: Jon Keating <emostar () users ! sourceforge ! net>
Date: 2005-11-07 6:21:43
Message-ID: E1EZ0Nz-0000hu-EL () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/licq/licq/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2698
Modified Files:
onevent.cpp
Log Message:
Prevent a crash if there was no ICQ account setup, but an MSN one was.
Index: onevent.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/onevent.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- onevent.cpp 14 Apr 2005 05:21:06 -0000 1.11
+++ onevent.cpp 7 Nov 2005 06:21:41 -0000 1.12
@@ -67,11 +67,12 @@
void COnEventManager::Do(unsigned short _nEvent, ICQUser *u)
{
unsigned long nPPID = LICQ_PPID;
- //if (u)
- // nPPID = u->PPID();
+ if (u)
+ nPPID = u->PPID();
// Check if globally command should be run
ICQOwner *o = gUserManager.FetchOwner(nPPID, LOCK_R);
+ if (!o) return;
unsigned long s = o->Status();
// Messy Mode / Accept Stuff by Andypoo (andypoo@ihug.com.au)
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Licq-cvs mailing list
Licq-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/licq-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic