From 7ef5f2eb7d9f0267330a3333ac20eebf9049362f Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Fri, 15 Nov 2013 00:24:56 -0600 Subject: [PATCH] afk_timeout is not a function... --- indra/newview/llappviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index f48a309985..2488f51bee 100755 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -542,7 +542,7 @@ void idle_afk_check() // [/RLVa:KB] // Explicit conversions just cos. //if (afk_timeout && (current_idle > afk_timeout) && ! gAgent.getAFK()) - if (afk_timeout() && (current_idle > static_cast(afk_timeout)) && ! gAgent.getAFK()) + if (afk_timeout && (current_idle > static_cast(afk_timeout)) && ! gAgent.getAFK()) { LL_INFOS("IdleAway") << "Idle more than " << afk_timeout << " seconds: automatically changing to Away status" << LL_ENDL; gAgent.setAFK();