fix #2780 ; Send state=3 to master server when it's not dedicated and ad...

...min presses disconnect