Trying to adapt the thing to inspircd..