Changed inner word matching to use IRC library structure