improved handling of mlocks and topiclocks on inspircd