Remove gAllowIdleAFK (makes the general preferences checkbox functional)

This commit is contained in:
Lirusaito
2013-02-11 15:01:18 -05:00
parent 2d0e3daef3
commit 491af1cbf0
4 changed files with 6 additions and 10 deletions

View File

@@ -1261,7 +1261,7 @@ BOOL LLViewerWindow::handleActivate(LLWindow *window, BOOL activated)
else
{
mActive = FALSE;
if (gAllowIdleAFK)
if (gSavedSettings.getBOOL("AllowIdleAFK"))
{
gAgent.setAFK();
}