projects
/
MQR.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c1ac86
)
display server room and nick on startup
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 29 Aug 2010 10:23:17 +0000
(12:23 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 29 Aug 2010 10:23:17 +0000
(12:23 +0200)
scripts/mqr-irc-client.pl
patch
|
blob
|
history
diff --git
a/scripts/mqr-irc-client.pl
b/scripts/mqr-irc-client.pl
index
22cea7d
..
251eda2
100755
(executable)
--- a/
scripts/mqr-irc-client.pl
+++ b/
scripts/mqr-irc-client.pl
@@
-15,6
+15,8
@@
use Data::Dump qw(dump);
my $nick = $ENV{IRC_NICK} || die "IRC_NICK";
my $room = $ENV{IRC_ROOM} || die "IRC_ROOM";
+warn "# $ENV{IRC_SERVER}:$ENV{IRC_PORT} $room $nick\n";
+
my $c = AnyEvent->condvar;
my $stdout = AnyEvent::Handle->new (fh => \*STDOUT);
my $con = new AnyEvent::IRC::Client;