diff options
author | kongr45gpen <electrovesta@gmail.com> | 2016-09-16 16:32:05 +0300 |
---|---|---|
committer | kongr45gpen <electrovesta@gmail.com> | 2016-09-16 16:32:05 +0300 |
commit | f161a009ceeb3970f5bed2bc569bb0696e2001c8 (patch) | |
tree | 19a641889714c5f96eb6aed500ccb06575bac726 /local/handler/GithubHandler.py | |
parent | af9f6faad73a4cc0e75394d4ff99134619164c05 (diff) | |
download | supybot_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/GithubHandler.py')
-rw-r--r-- | local/handler/GithubHandler.py | 2 |
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) |