This website works better with JavaScript.
Home
Help
Sign In
ben
/
earwigbot
mirror of
https://github.com/earwig/earwigbot
Watch
1
Star
1
Fork
0
Code
Releases
4
Activity
Browse Source
Fix restarting
tags/v0.1^2
Ben Kurtovic
12 years ago
parent
275c82ec7c
commit
3fc151470b
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
earwigbot/irc/connection.py
+2
-3
earwigbot/main.py
+ 1
- 0
earwigbot/irc/connection.py
View File
@@ -137,4 +137,5 @@ class IRCConnection(object):
for line in lines:
self._process_message(line)
if not self.is_running:
self._close()
break
+ 2
- 3
earwigbot/main.py
View File
@@ -102,9 +102,8 @@ def irc_frontend():
frontend.loop()
if "irc_watcher" in config.components:
w_conn.close()
f_conn.close()
if config.components.get("irc_watcher"):
watcher.is_running = False
def main():
if config.components.get("irc_frontend"):
Write
Preview
Loading…
Cancel
Save