Hipchat for 20 users is $40/month. If a single programmer on that team making $40/hr or more spends an hour setting up a "free" solution (an irc server, for example), that team loses money. Getting a free solution set up with all of hipchat's niceties across multiple platforms (and a web interface) will usually take longer than that.