diff -r 09dcaeaa216b -r 33b8f428bacb sources/network/rconsession.cpp --- a/sources/network/rconsession.cpp Sat Dec 13 04:50:33 2014 +0200 +++ b/sources/network/rconsession.cpp Sat Dec 13 07:36:00 2014 +0200 @@ -1,5 +1,7 @@ #include "rconsession.h" +static Vector g_allSessions; + // ------------------------------------------------------------------------------------------------- // RCONSession::RCONSession() : @@ -236,3 +238,11 @@ time (&now); m_lastPing = now; } + +// ------------------------------------------------------------------------------------------------- +// +STATIC METHOD +RCONSession::all_sessions() -> const Vector& +{ + return g_allSessions; +}