From 6b1a398dde91137afe4910f4552a17207678dc08 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 1 Jul 2008 01:48:37 +0200 Subject: Version 0.9.11-rc1 --- lib/rbot/rbotconfig.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbot') 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 -- cgit v1.2.3