librb was based on ircd-ratbox's libratbox. This contains various utility functions. See the CREDITS in Solanum for more information.