View Single Post
Old 02-23-13, 11:43 AM   #3
ravagernl
Macro Murloc mgrlglrgl!
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,136
One thing you could also do if your options are not very complicated is make use of metatables:

http://www.lua.org/pil/13.4.3.html

Then when resetting, just loop over the options database table and set all keys to nil.
ravagernl is online now   Reply With Quote