Quote Originally Posted by 'Chorizotarian',index.php?page=Thread&postID=57002 #post57002
You shouldn't need to add the saved variables. The idea is that LibTrust saves the settings in it's own SavedVariables and you call the public API.

I actually haven't tried embedding it yet. Maybe it's not working right. Can you post a code sample?

Here's what I do for LibRpc (non-embedded):
Code:
local libTrust = LibStub("LibTrust-0.1")
if not libTrust then error(MAJOR .. " requires LibTrust-0.1") end
...
if not libTrust:IsAllowed(sender) then
    ...
end
Problem is, I embedded both LibRpc and LibTrust, but libtrust doesn't seem to save anything. Only when I add the SavedVariables to the tOC it starts saving.