Chat moderators are users with the ability to (un)block users from Special:Chat, by adding or removing them from the group "users blocked from chat". This group can be tested with.
Template:User Rights