aboutsummaryrefslogtreecommitdiffstats
path: root/plugin.py
diff options
context:
space:
mode:
authorkongr45gpen <kongr45gpen@helit.org>2013-07-30 14:23:34 +0300
committerkongr45gpen <kongr45gpen@helit.org>2013-07-30 14:23:34 +0300
commit80b6831b4afa8003441b5317e9aac90a09c5e74f (patch)
tree773ceaf418056d0d01a4a7997bd8af98a60832e3 /plugin.py
parent6147c3f885dee63889e1d69ded038211e45f6497 (diff)
downloadsupybot_github-80b6831b4afa8003441b5317e9aac90a09c5e74f.tar.gz
supybot_github-80b6831b4afa8003441b5317e9aac90a09c5e74f.tar.bz2
supybot_github-80b6831b4afa8003441b5317e9aac90a09c5e74f.zip
Rename shortURLs into shortURL
Diffstat (limited to 'plugin.py')
-rw-r--r--plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.py b/plugin.py
index 796aa90..d98cb4d 100644
--- a/plugin.py
+++ b/plugin.py
@@ -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)

© 2014-2024 Faster IT GmbH | imprint | privacy policy