Ruby 1.9 can intern empty strings
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 3 Jun 2011 12:02:45 +0000 (14:02 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 3 Jun 2011 12:02:45 +0000 (14:02 +0200)
commitc5bd13b7ccad6832b75e2a185169d3822c3cc4ef
treede544f79098cf46f24c0bb51fae2b237ec897f05
parenta7388f8aee855fdb413369bedc0f7a5f46994e48
Ruby 1.9 can intern empty strings

Since in the subsequent switc we check for nil, explicitly use
nil when the modifier is empty or nil rather than relying on a rescued
exception.
lib/rbot/core/auth.rb