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