summaryrefslogtreecommitdiffstats
path: root/lib/App/Termcast.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/Termcast.pm')
-rw-r--r--lib/App/Termcast.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/App/Termcast.pm b/lib/App/Termcast.pm
index fe88c3f..d8ecb36 100644
--- a/lib/App/Termcast.pm
+++ b/lib/App/Termcast.pm
@@ -166,13 +166,7 @@ sub _build_socket {
geometry => [ $cols, $lines ],
);
- $socket->syswrite($self->establishment_message);
- select undef, undef, undef, 0.1; # XXX yuck :)
- # this is going away once I move
- # auth to on_data in ::Server
- # instead of on_connect or whatever
- # - jasonmay
- $socket->syswrite($resize_string);
+ $socket->syswrite($self->establishment_message . $resize_string);
# ensure the server accepted our connection info
# can't use _build_select_args, since that would cause recursion