rem: return log(address + " already subscribed"); user_list.push({ name: sender_name, address: address }); 
add: return log(address + " is already subscribed"); var now=time(); user_list.push({ name:					sender_name ,address:				address ,created:				system.timestr(now) ,last_activity:			system.timestr(now) ,last_activity_time:	format("%08lxh",now) }); 
context: function subscription_control(cmd, list, address){	if(!address)		address=sender_address;	log(LOG_INFO,format("%s Subscription control command (%s) from %s"		,list.name,cmd,address));	/* Get subscriber list */	var user_fname = list.msgbase_file + user_list_ext;	var user_file = new File(user_fname);	if(!user_file.open("r+"))		return log(LOG_ERR,format("%s !ERROR %d opening file: %s"			,list.name, user_file.error, user_fname));	user_list = user_file.iniGetAllObjects();		switch(cmd.toLowerCase()) {		case "unsubscribe":			if(remove_user(user_list, address)) {				write_user_list(user_list, user_file);				return log(LOG_INFO,address + " unsubscribed successfully");			}			return("!subscriber not found: " + address);		case "subscribe":			if(find_user(user_list, address)!=-1)				return log(address + " already subscribed");			user_list.push({ name: sender_name, address: address });			write_user_list(user_list, user_file);			return log(address + " subscription successful");	}}
meta: 9592	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9592/f998f2f7fe52fc3f235d99333ca7614c7ecbbd87/listserver.js/clean/listserver.js