/* Default snomask configuration.
 *
 * DO NOT EDIT THIS FILE! IT WILL BE OVERWRITTEN DURING NEXT UPGRADE!!
 * If you want to customize it, make a copy of this file
 *  (eg: name it modules.custom.conf) and edit it.
 * Then include that file from your unrealircd.conf instead of this one.
 */

/* Connects snomask (local clients only) */
log {
	source {
		connect.LOCAL_CLIENT_CONNECT;
		connect.LOCAL_CLIENT_DISCONNECT;
	}
	destination {
		snomask c;
	}
}

/* Far connects snomask (remote clients) */
log {
	source {
		connect.REMOTE_CLIENT_CONNECT;
		connect.REMOTE_CLIENT_DISCONNECT;
	}
	destination {
		snomask F;
	}
}

/* Kill snomask */
log {
	source {
		kill;
	}
	destination {
		snomask k;
	}
}

/* Blacklist snomask */
log {
	source {
		blacklist;
	}
	destination {
		snomask b;
	}
}

/* Eyes snomask */
log {
	source {
		chgcmds;
	}
	destination {
		snomask e;
	}
}

log {
	source {
		link;
		nomatch;
	}
	destination {
		snomask all;
	}
}

log {
	source {
		link; // TO CHECK: should we filter some out (with negative matching)?
		tkl.TKL_ADD_TEMPSHUN;
		tkl.TKL_DEL_TEMPSHUN;
		tls.TLS_CERT_EXPIRING;
		samode.SAMODE_COMMAND;
	}
	destination {
		remote;
	}
}
