travis-ci/travis-core — pull request #57 by dvyjones (2012-05-13 09:57:56+00:00)
Title: Support IRC channels with more than one leading "#"

This should probably be moved into the IRC handler at some point, like
the TODO says, but this'll work for now.

The second argument to `String#split` limits how many sections the
string will be split into, so setting it to 2 will limit it to two
parts: The server/port and the channel. It'll still remove the first
"#", but I'm assuming that's added again somewhere else.

I also added a spec for this, do tell if I added it in the wrong place.

Fixes #52

/cc @joshk