aboutsummaryrefslogtreecommitdiffstats
path: root/plugin.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2014-04-23 17:20:13 +0300
committerkongr45gpen <electrovesta@gmail.com>2014-04-23 17:20:13 +0300
commitd3c6bc9f317b284b010d9be50d1d82849f598917 (patch)
tree3bd24163577e3dfa359da2c5713e8f413de8f7b8 /plugin.py
parentabeff1e1b152dc529119417255ce16d051b1e0f6 (diff)
downloadsupybot_github-d3c6bc9f317b284b010d9be50d1d82849f598917.tar.gz
supybot_github-d3c6bc9f317b284b010d9be50d1d82849f598917.tar.bz2
supybot_github-d3c6bc9f317b284b010d9be50d1d82849f598917.zip
Fix error during the plugin's reload
Diffstat (limited to 'plugin.py')
-rw-r--r--plugin.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin.py b/plugin.py
index 24a4af1..c990b10 100644
--- a/plugin.py
+++ b/plugin.py
@@ -453,8 +453,12 @@ class Github(callbacks.Plugin):
def die(self):
self.httpd.server_close()
+ self.httpd.shutdown()
self.__parent.die()
+ def create_dummy_request(self):
+ server = xmlrpclib.Server('http://localhost:%s' % (8093))
+ server.ping()
def toast(self, irc, msg, args, seed, items):
"""<seed> <item1> [<item2> ...]

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