apache v2.0 license and sample code for ZNC modules