Permalink
Browse files

Just send it out, it'll work

also, that to_binary function was flawed
  • Loading branch information...
1 parent b383b6f commit ad2025459b6eb94d91c95a93085aebd5a3a41c4c @gdamjan committed Jun 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ircbot_connection.erl
@@ -70,7 +70,7 @@ debug(out, Msg) ->
% print directly to stdout thus avoid Erlangs broken
% io:* routines
debug(Msg) ->
- port_command(stdout, [ircbot_lib:to_binary(Msg), "\n"]).
+ port_command(stdout, [Msg, "\n"]).
% open stdout as an Erlang port and register it with the
% stdout atom. The port will be closed automatically if the

0 comments on commit ad20254

Please sign in to comment.