AFK Warning

4 - strlen(nil) in AFKWarning.lua:8590 when LDB plugin disabled

What steps will reproduce the problem?
1. Install AFKWarning
2. Remove the LDB Plugin from the Bazooka bar, disabling it
3. Restart the game

I then got a constant stream of errors because AFKWarning.LDBObjText is nil, and strlen blows up. I was able to work around it by making sure that AFKWarning.Settings.profile.BrokerIcon.ShowIdleTime was off, but I am not sure that the code above reading AFKWarning.LDBObj.text doesn't indicate the real bug -- a missing . to refer to the LDB text itself...

It would also be ideal if the LDB code disabled itself to do no work when the LDB plugin was disabled, which also would likely have avoided this problem.

User When Change
slippycheeze Dec 27, 2013 at 00:33 UTC Create

You must login to post a comment. Don't have an account? Register to get one!


Dec 27, 2013
New - Issue has not had initial review yet.
Defect - A shortcoming, fault, or imperfection
Medium - Normal priority.

Reported by

Possible assignees