Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Default to `$channel`

  • Loading branch information...
commit c539d04e74b245d8b624d2a97514d76a2ba9e690 1 parent 79feb14
Alan Haggai Alavi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  log.pl
2  log.pl
View
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.