Changeset 6285 for trunk/console/src/console.cpp
- Timestamp:
- 06/14/08 03:49:08 (7 months ago)
- Files:
-
- 1 modified
-
trunk/console/src/console.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/src/console.cpp
r6244 r6285 1496 1496 else 1497 1497 { 1498 GroupList *g = gUserManager.LockGroupList(LOCK_R);1499 if ( m_nCurrentGroup > g->size())1498 LicqGroup* group = gUserManager.FetchGroup(m_nCurrentGroup, LOCK_R); 1499 if (group == NULL) 1500 1500 strcpy(szGroupName, "Invalid Group"); 1501 1501 else 1502 strcpy(szGroupName, (*g)[m_nCurrentGroup - 1]);1503 gUserManager. UnlockGroupList();1502 strcpy(szGroupName, group->name().c_str()); 1503 gUserManager.DropGroup(group); 1504 1504 } 1505 1505 }
