#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#m# 123
#a# accept ignore deny
#i#
#n# jabber
#t# clients
#d# jabber (Port 5222 TCP)
#d# Jabber is another instant messenger.
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#----------------------------------------------------------------------- 

module_name="jabber"        # module name used in options
module_type="clients"       # the module type (clients, servers, etc.)
service_name="jabber"       # displayed on-screen
service_port="5222"         # port number for this service 

for action in ignore deny accept
do
    for host in `Option_Value $action $INTOPT $module_name $module_type`
    do
            Hostports $action local tcp "$service_name" $host $service_port
    done
done 

unset module_name service_name service_port
unset action action_log_msg action_log host
