… | … | ||
---|---|---|---|
818 | 818 | ||
819 | on_connect => sub { | 819 | on_connect => sub { |
820 | if ($_[0]) { | 820 | if ($_[0]) { |
821 | DC::lowdelay fileno $CONN->{fh}; | 821 | DC::lowdelay fileno $CONN->{fh}; |
822 | 822 | ||
823 | status "login successful"; | 823 | status "successfully connected to the server"; |
824 | } else { | 824 | } else { |
825 | undef $CONN; | 825 | undef $CONN; |
826 | status "unable to connect: $!"; | 826 | status "unable to connect: $!"; |
827 | stop_game(); | 827 | stop_game(); |
828 | } | 828 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |