Fix IRC prefix-fn to find level