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