
#-----------------------------------------------------------------------
# CHANGES
#-----------------------------------------------------------------------
#
# 2000-11-28  Jean-Sebastien Morisset <jsmoriss@mvlan.net>
#             changed type from "hosts" to "clients".
# 2000-10-31  Jean-Sebastien Morisset <jsmoriss@jsm-mv.dyndns.org>
#             Module name changes from icqfiletrans to icqdirect.
# 2000-10-14  Jean-Sebastien Morisset <jsmoriss@jsm-mv.dyndns.org>
#             Initial module written for v5.0.
#
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#m# 123
#a# accept
#i# cluster
#n# icqdirect
#t# clients
#
#   |--------------------------------------------------------------------|
#d# Accept direct ICQ connections (and file transfers) from these hosts.
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

for host in `Option_Value accept $INTOPT icqdirect clients`
do
	for port in `Option_Value accept $INTOPT icqdirect ports`
	do
		Accept_Hostports local tcp "ICQ" $host $port
	done
done
unset host port

