diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-07-01 01:48:37 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-07-01 01:48:37 +0200 |
commit | 6b1a398dde91137afe4910f4552a17207678dc08 (patch) | |
tree | 7ac12e17c420733e7b14f86a1f34181d3ed5146e /lib/rbot | |
parent | b26120bc609851042c6e6997fd1a259f79b178f6 (diff) |
Version 0.9.11-rc1
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/rbotconfig.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/rbotconfig.rb b/lib/rbot/rbotconfig.rb index 692113a9..eb55f965 100644 --- a/lib/rbot/rbotconfig.rb +++ b/lib/rbot/rbotconfig.rb @@ -27,7 +27,7 @@ class Bot begin debug "trying to load rubygems" require 'rubygems' - if $version =~ /^(.*)-git( .*)?$/ + if $version =~ /^(.*)-(?:git|rc\d)(?: .*)?$/ version = $1 else version = $version |