[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-01-26 17:21:33
Message-ID: E1CtqrF-0006Xr-1j () 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-serv24981
Modified Files:
icqd-srv.cpp
Log Message:
Only change their status if they are offline to begin with.
Index: icqd-srv.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/icqd-srv.cpp,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- icqd-srv.cpp 26 Jan 2005 17:13:20 -0000 1.151
+++ icqd-srv.cpp 26 Jan 2005 17:21:29 -0000 1.152
@@ -2611,9 +2611,12 @@
{
bHandled = true;
ICQUser *u = gUserManager.FetchUser(e->Id(), e->PPID(), LOCK_R);
- gLog.Info(tr("%s%s (%s) is Invisible.\n"), L_SRVxSTR, u->GetAlias(), u->IdString());
- u->SetOnlineSince(time(NULL));
- ChangeUserStatus(u, ICQ_STATUS_ONLINE | ICQ_STATUS_FxPRIVATE);
+ if (u->StatusOffline())
+ {
+ gLog.Info(tr("%s%s (%s) is Invisible.\n"), L_SRVxSTR, u->GetAlias(), u->IdString());
+ u->SetOnlineSince(time(NULL));
+ ChangeUserStatus(u, ICQ_STATUS_ONLINE | ICQ_STATUS_FxPRIVATE);
+ }
gUserManager.DropUser(u);
}
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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