Help updating ChatFilter System

Hey all,

I’m trying to update this chat filter system to the new Garry’s Mod but I’m having some trouble can anyone help me?

http://www.garrysmod.org/downloads/?a=view&id=96251

Errors I’m getting

[ERROR] lua/autorun/client/cl_chatfilter.lua:47: bad argument #1 to ‘pairs’ (table expected, got nil)

  1. pairs - [C]:-1
  2. Function - lua/autorun/client/cl_chatfilter.lua:47
    3. unknown - lua/includes/modules/usermessage.lua:87

[ERROR] lua/autorun/server/sv_chatfilter.lua:53: attempt to index global ‘CHATFILTER’ (a nil value)

  1. unknown - lua/autorun/server/sv_chatfilter.lua:53
  2. unknown - lua/includes/modules/concommand.lua:69

[ERROR] lua/autorun/client/cl_chatfilter.lua:123: attempt to index global ‘CHATFILTER’ (a nil value)

  1. DoClick - lua/autorun/client/cl_chatfilter.lua:123
  2. unknown - lua/vgui/dlabel.lua:206

If anyone could help I would love it!