diff options
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 1c10e5af..97f8173e 100644 --- a/lib/rbot/rbotconfig.rb +++ b/lib/rbot/rbotconfig.rb @@ -28,7 +28,7 @@ class Bot debug "trying to load rubygems" require 'rubygems' debug "loaded rubygems, looking for rbot-#$version" - if $version =~ /(.*)-svn\Z/ + if $version =~ /(.*)-(svn|git)\Z/ version = $1 else version = $version |