Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Default to `$channel`

  • Loading branch information...
commit c539d04e74b245d8b624d2a97514d76a2ba9e690 1 parent 79feb14
@alanhaggai authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  log.pl
View
2  log.pl
@@ -15,7 +15,7 @@
get '/' => sub {
my $self = shift;
$nick = $self->param('nick') || "guest$$";
- $channel = $self->param('channel') || '#mojo';
+ $channel = $self->param('channel') || $channel;
$self->stash(nick => $nick);
$self->render('index', channel =>$channel);
$irc->send_srv(NICK => $nick);

0 comments on commit c539d04

Please sign in to comment.
Something went wrong with that request. Please try again.