summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2011-11-21 13:48:13 +0100
committerJoel Rosdahl <joel@rosdahl.net>2011-11-23 22:21:35 +0100
commitb08458f3c081edfc0549ae59187c1f6a5aed809e (patch)
tree4ac0c6694cb86ab04dc3ac725db7ef483f22ee45
parentfc734e8d9f9280f0416f6677befd6b7289e21586 (diff)
downloadminiircd-b08458f3c081edfc0549ae59187c1f6a5aed809e.tar.gz
miniircd-b08458f3c081edfc0549ae59187c1f6a5aed809e.zip
Flush after writing info/debug messages
-rwxr-xr-xminiircd2
1 files changed, 2 insertions, 0 deletions
diff --git a/miniircd b/miniircd
index 9baa6da..f4c98cd 100755
--- a/miniircd
+++ b/miniircd
@@ -619,10 +619,12 @@ class Server(object):
def print_info(self, msg):
if self.verbose:
print msg
+ sys.stdout.flush()
def print_debug(self, msg):
if self.debug:
print msg
+ sys.stdout.flush()
def print_error(self, msg):
sys.stderr.write("%s\n" % msg)