aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sopel
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-03-15 17:24:10 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-03-15 17:24:10 +0000
commit5e47127a07783ef8cd852ec5e51a7f55d14563f4 (patch)
tree7fd45d3782cd443856058c9d4707d29669a0c790 /testing/sopel
parent0461336492719dda919cbf4981f389c8dfa09ae2 (diff)
downloadaports-5e47127a07783ef8cd852ec5e51a7f55d14563f4.tar.bz2
aports-5e47127a07783ef8cd852ec5e51a7f55d14563f4.tar.xz
testing/sopel: add patch
Diffstat (limited to 'testing/sopel')
-rw-r--r--testing/sopel/use-tpaste-us.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/sopel/use-tpaste-us.patch b/testing/sopel/use-tpaste-us.patch
new file mode 100644
index 0000000000..2f2320a5e8
--- /dev/null
+++ b/testing/sopel/use-tpaste-us.patch
@@ -0,0 +1,21 @@
+diff --git a/sopel/modules/help.py b/sopel/modules/help.py
+index 5c3811ff74..341b6af8a1 100644
+--- a/sopel/modules/help.py
++++ b/sopel/modules/help.py
+@@ -84,13 +84,13 @@ def create_list(bot, msg):
+ msg = 'Command listing for {}@{}\n\n'.format(bot.nick, bot.config.core.host) + msg
+
+ try:
+- result = requests.post('https://clbin.com/', data={'clbin': msg})
++ result = requests.post('https://tpaste.us/', data={'tpaste': msg})
+ except requests.RequestException:
+ bot.say("Sorry! Something went wrong.")
+ logger.exception("Error posting commands")
+ return
+ result = result.text
+- if "https://clbin.com/" in result:
++ if "https://tpaste.us/" in result:
+ return result
+ else:
+ bot.say("Sorry! Something went wrong.")
+