Changeset 6335
- Timestamp:
- 06/18/08 01:14:55 (6 months ago)
- Location:
- trunk/licq
- Files:
-
- 2 modified
-
include/licq_icqd.h (modified) (1 diff)
-
src/icqd-srv.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/include/licq_icqd.h
r6325 r6335 454 454 void icqAlertUser(unsigned long _nUin); 455 455 void icqAlertUser(const char* id, unsigned long ppid); 456 void icqAddUser(unsigned long _nUin, bool _bAuthReq = false );456 void icqAddUser(unsigned long _nUin, bool _bAuthReq = false, unsigned short groupId = 0); 457 457 void icqAddUser(const char *_szId, bool _bAuthReq = false, unsigned short groupId = 0); 458 458 void icqAddUserServer(const char *_szId, bool _bAuthReq, unsigned short groupId = 0); 459 void icqAddUserServer(unsigned long _nUin, bool _bAuthReq );459 void icqAddUserServer(unsigned long _nUin, bool _bAuthReq, unsigned short groupId = 0); 460 460 void icqAddGroup(const char *); 461 461 void icqRemoveUser(unsigned long _nUin); -
trunk/licq/src/icqd-srv.cpp
r6317 r6335 65 65 if (UseServerContactList()) 66 66 { 67 icqAddUserServer(_szId, _bAuthRequired );67 icqAddUserServer(_szId, _bAuthRequired, groupId); 68 68 } 69 69 … … 71 71 } 72 72 73 void CICQDaemon::icqAddUser(unsigned long _nUin, bool _bAuthRequired )73 void CICQDaemon::icqAddUser(unsigned long _nUin, bool _bAuthRequired, unsigned short groupId) 74 74 { 75 75 char szUin[24]; 76 76 sprintf(szUin, "%lu", _nUin); 77 77 78 icqAddUser(szUin, _bAuthRequired );78 icqAddUser(szUin, _bAuthRequired, groupId); 79 79 } 80 80 … … 106 106 } 107 107 108 void CICQDaemon::icqAddUserServer(unsigned long _nUin, bool _bAuthRequired) 108 void CICQDaemon::icqAddUserServer(unsigned long _nUin, bool _bAuthRequired, 109 unsigned short groupId) 109 110 { 110 111 char szUin[13]; … … 112 113 szUin[12] = 0; 113 114 114 icqAddUserServer(szUin, _bAuthRequired );115 icqAddUserServer(szUin, _bAuthRequired, groupId); 115 116 } 116 117
