Minor bug: quotemeta nick variable as it may contain regex sensitive chars