Ruby 1.9 compat: use String#[0,1] for channel prefixes
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 1 Nov 2009 08:44:01 +0000 (09:44 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 1 Nov 2009 08:54:30 +0000 (09:54 +0100)
commit34ca2ba507e4246f1bc1851b04d2ecdffd433a19
tree87fe9f6332fb6dcecbb0cacc358ebca89abbd815
parent96218423c1200c9281b8b4261a924565c4eafd2a
Ruby 1.9 compat: use String#[0,1] for channel prefixes

This ensures that checks are correct in both Ruby 1.8 and 1.9
lib/rbot/irc.rb