View Single Post
02-04-18, 05:42 PM   #1
kaimox
A Fallenroot Satyr
Join Date: Jun 2008
Posts: 25
attempt to index local 'f' (a nil value)

I have this function in my personal addon which worked until before Legion but it seems that Blizz changed something. Since the error message is kind of generic a search turned up nothing. I'm not really a coder, I just fumble around, so if someone could help me out ...

local function Hide(f)
f:SetScript('OnShow', f.Hide)
f:Hide()
end

Also I have some key bindings defined and I'm too stupid to find out which is the key binding name for lfg groups.
This one just works for manually created groups:

<Binding name="Party" >
ChatFrame_OpenChat("/p");
</Binding>
  Reply With Quote