diff --git a/README.md b/README.md index f771038..257be51 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# CloudBot/1.1b +# CloudBot/1.1c ## About @@ -102,7 +102,7 @@ The programs `screen` or `daemon` are recomended for the wrapper to run optimaly ## License CloudBot is **licensed** under the **GPL v3** license. The terms are as follows. - CloudBot/1.1b + CloudBot/1.1c Copyright © 2011 Luke Rogers - diff --git a/bot.py b/bot.py index 3d92d72..e4bbeaa 100755 --- a/bot.py +++ b/bot.py @@ -13,7 +13,7 @@ os.chdir(sys.path[0] or '.') # do stuff relative to the install directory class Bot(object): pass -print 'Welcome to Cloudbot - Version 1.1b - http://git.io/cloudbot' +print 'Welcome to Cloudbot - Version 1.1c - http://git.io/cloudbot' bot = Bot() diff --git a/plugins/urlparse.py b/plugins/urlparse.py index e1d5328..d8ba986 100755 --- a/plugins/urlparse.py +++ b/plugins/urlparse.py @@ -18,7 +18,7 @@ def parse(match): except: return "fail" -@hook.regex(r'(^[^\.])([a-zA-Z]://|www\.)?[^ ]+(\.[a-z]+)\/(.*)') +@hook.regex(r'(^[^\.])([a-zA-Z]://|www\.)?[^ ]+(\.[a-z]+)(\/)?(.*)') def urlparser(match, say=None): url = urlnorm.normalize(match.group().encode('utf-8')) if url[:7] != "http://":