summaryrefslogtreecommitdiff
path: root/ircext.py
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-03-08 13:26:28 +0100
committerAlex Auvolat <alex@adnab.me>2016-03-08 13:26:28 +0100
commit2f479926c16d2911d0dd878c21de082abfc5b237 (patch)
treeb399e9ad9af04a9449334dff1a47449808b7ca13 /ircext.py
parent23093608e0edc43477c3a2ed804ae1016790f7e4 (diff)
downloadtext-rnn-2f479926c16d2911d0dd878c21de082abfc5b237.tar.gz
text-rnn-2f479926c16d2911d0dd878c21de082abfc5b237.zip
Revive project
Diffstat (limited to 'ircext.py')
-rw-r--r--ircext.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ircext.py b/ircext.py
index 1af2ba8..d8580ad 100644
--- a/ircext.py
+++ b/ircext.py
@@ -125,5 +125,9 @@ class IRCClientExt(SimpleExtension):
def do(self, which_callback, *args):
logger.info('Polling...')
self.irc.reactor.process_once()
+
+ def run_forever(self):
+ self.irc.reactor.process_forever()
+# vim: set sts=4 ts=4 sw=4 tw=0 et :