aboutsummaryrefslogtreecommitdiffstats
path: root/local/handler
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2016-09-16 16:32:05 +0300
committerkongr45gpen <electrovesta@gmail.com>2016-09-16 16:32:05 +0300
commitf161a009ceeb3970f5bed2bc569bb0696e2001c8 (patch)
tree19a641889714c5f96eb6aed500ccb06575bac726 /local/handler
parentaf9f6faad73a4cc0e75394d4ff99134619164c05 (diff)
downloadsupybot_github-f161a009ceeb3970f5bed2bc569bb0696e2001c8.tar.gz
supybot_github-f161a009ceeb3970f5bed2bc569bb0696e2001c8.tar.bz2
supybot_github-f161a009ceeb3970f5bed2bc569bb0696e2001c8.zip
Allow using supybot to override config values for each channel
Diffstat (limited to 'local/handler')
-rw-r--r--local/handler/GithubHandler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/local/handler/GithubHandler.py b/local/handler/GithubHandler.py
index ed44de4..6b2dd30 100644
--- a/local/handler/GithubHandler.py
+++ b/local/handler/GithubHandler.py
@@ -24,6 +24,7 @@ import supybot.ircutils as ircutils
import supybot.registry as registry
import supybot.callbacks as callbacks
+from ..globals import *
from ..utility import *
import PingHandler
@@ -92,6 +93,7 @@ class GithubHandler(BaseHTTPServer.BaseHTTPRequestHandler):
addConfigOverride(explosion[0], explosion[1])
i+=1
+ globals.channel = channel
try:
s.send_response(200)

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