Lua Table Error

I keep getting the following error and I can’t seem to figure out why.



[ERROR] lua/includes/extensions/table.lua:94: bad argument #1 to 'pairs' (table expected, got nil)
   1. pairs - [C]:-1
    2. HasValue - lua/includes/extensions/table.lua:94
     3. CanChat - /addons/raindeer-antispam-master/lua/ras/antispam.lua:191
      4. v - addons/raindeer-antispam-master/lua/ras/antispam.lua:47
       5. unknown - lua/includes/modules/hook.lua:84


Here is a pastebin to the code. I put it there because I felt it was too long to put on the thread.
Thanks in advance, for the help!

elseif table.HasValue(RAS.Ban.Exempt, self:SteamID()) then

RAS.Ban.Exempt is nil, i.e. not set, i.e. it is not a valid variable.

Changed the code a bit… still have the error though.