github/github-services — Issue #225: IRC: Local Channel Types
Author: Juvenal1228
Created: 2012-01-17 09:56:26+00:00
State: open

The current IRC service limits the 'room' field to the # prefix, which doesn't allow for local server type channels to be used, which are prefixed with &, not #

This also prevents private messaging a specific user, instead of a channel.

In my case, I was going to use the service to announce to a channel named ~#github which signifies it is local to our IRC bouncer.

The easiest way to rectify this would simply be to change line 27 of irc.rb from
```ruby
rooms = data['room'].gsub(",", " ").split(" ").map{|room| room[0].chr == '#' ? room : "##{room}"}
```

to the following
```ruby
rooms = data['room'].gsub(",", " ").split(" ")
```