[8820] drop unneded check at sessionupate

session will never get NULL there
This commit is contained in:
balrok 2009-11-15 20:04:53 +01:00
parent 35d64c8d62
commit 5475430235
2 changed files with 1 additions and 5 deletions

View file

@ -2050,10 +2050,6 @@ void World::UpdateSessions( uint32 diff )
{ {
next = itr; next = itr;
++next; ++next;
if(!itr->second)
continue;
///- and remove not active sessions from the list ///- and remove not active sessions from the list
if(!itr->second->Update(diff)) // As interval = 0 if(!itr->second->Update(diff)) // As interval = 0
{ {

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8819" #define REVISION_NR "8820"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__