diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index f48a309985..81fa86a21d 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 (static_cast(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();