|
@@ -385,7 +385,7 @@ void MSAKlient::thread()
|
|
|
errorZuKlient( "Du musst dich einloggen." );
|
|
|
else
|
|
|
{
|
|
|
- if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::LSStarten ) )
|
|
|
+ if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::MSStarten ) )
|
|
|
{
|
|
|
if( !ms->serverStarten() )
|
|
|
{
|
|
@@ -406,7 +406,7 @@ void MSAKlient::thread()
|
|
|
errorZuKlient( "Du musst dich einloggen." );
|
|
|
else
|
|
|
{
|
|
|
- if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::LSBeenden ) )
|
|
|
+ if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::MSBeenden ) )
|
|
|
{
|
|
|
if( ms->serverBeenden() )
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
@@ -430,7 +430,7 @@ void MSAKlient::thread()
|
|
|
bool ok = 0;
|
|
|
if( ms->isRunning() )
|
|
|
{
|
|
|
- if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::LSBeenden ) )
|
|
|
+ if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::MSBeenden ) )
|
|
|
{
|
|
|
if( ms->serverBeenden() )
|
|
|
ok = 1;
|
|
@@ -469,7 +469,7 @@ void MSAKlient::thread()
|
|
|
bool ok = 0;
|
|
|
if( ms->isRunning() )
|
|
|
{
|
|
|
- if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::LSBeenden ) )
|
|
|
+ if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::MSBeenden ) )
|
|
|
{
|
|
|
ms->serverBeenden();
|
|
|
ok = 1;
|
|
@@ -510,7 +510,7 @@ void MSAKlient::thread()
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
char pause = 0;
|
|
|
klient->getNachrichtEncrypted( &pause, 1 );
|
|
|
- if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::LSPausieren ) )
|
|
|
+ if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::MSPausieren ) )
|
|
|
{
|
|
|
bool ok = 0;
|
|
|
if( pause )
|
|
@@ -544,7 +544,7 @@ void MSAKlient::thread()
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
int maxC = 0;
|
|
|
klient->getNachrichtEncrypted( (char*)&maxC, 4 );
|
|
|
- if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::LSMCChange ) )
|
|
|
+ if( ms->zDB()->adminHatRecht( adminId, Admin_Recht::MSMCChange ) )
|
|
|
{
|
|
|
if( ms->setMaxKlients( maxC ) )
|
|
|
klient->sendeEncrypted( "\1", 1 );
|