commit e83893274f925bc57a360bc1c4e9a9cde667950e
parent 01d359c7b8e328bfdc2540ef5a3958dd96945144
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date: Mon, 19 Jan 2009 21:20:39 -0800
ignore LOG.flush() method calls
Diffstat:
| wmiirc | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --dropbox a/wmiirc b/wmiirc
@@ -18,6 +18,10 @@ LOG = Logger.new(__FILE__ + '.log', 5)
unless $DEBUG
class << LOG
alias write << # emulate IO.write
+
+ def flush
+ # ignore
+ end
end
# capture standard output in logger