diff options
author | kongr45gpen <kongr45gpen@helit.org> | 2013-07-30 14:23:34 +0300 |
---|---|---|
committer | kongr45gpen <kongr45gpen@helit.org> | 2013-07-30 14:23:34 +0300 |
commit | 80b6831b4afa8003441b5317e9aac90a09c5e74f (patch) | |
tree | 773ceaf418056d0d01a4a7997bd8af98a60832e3 | |
parent | 6147c3f885dee63889e1d69ded038211e45f6497 (diff) | |
download | supybot_github-80b6831b4afa8003441b5317e9aac90a09c5e74f.tar.gz supybot_github-80b6831b4afa8003441b5317e9aac90a09c5e74f.tar.bz2 supybot_github-80b6831b4afa8003441b5317e9aac90a09c5e74f.zip |
Rename shortURLs into shortURL
-rw-r--r-- | config.py | 2 | ||||
-rw-r--r-- | plugin.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -20,7 +20,7 @@ conf.registerGlobalValue(Github, 'channel', registry.String('#commits', """Determines the channel where commit notifications will go by default.""")) -conf.registerGlobalValue(Github, 'shortURLs', +conf.registerGlobalValue(Github, 'shortURL', registry.Boolean(True, """Use git.io to produce shorter URLs""")) # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: @@ -72,7 +72,7 @@ def registryValue(plugin, name, channel=None, value=True): return group def getShortURL(longurl): - if registryValue("Github","shortURLs") is False: + if registryValue("Github","shortURL") is False: return longurl data = 'url=%s' % (longurl) req = urllib2.Request("http://git.io", data) |