Converted to Twisted from asyncore. Not positive if this is just my local machine, but it seems like this backend is a bit faster.

This commit is contained in:
Greg Taylor 2007-05-21 20:52:05 +00:00
parent 82f46a2b69
commit 97cf1213e6
8 changed files with 113 additions and 145 deletions

View file

@ -108,7 +108,7 @@ def announce_all(message, with_ann_prefix=True, with_nl=True):
newline = ''
for session in session_mgr.get_session_list():
session.msg_no_nl('%s %s%s' % (prefix, message,newline,))
session.msg('%s %s%s' % (prefix, message,newline,))
def word_wrap(text, width=78):
"""