aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--auto-server/auto_server.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto-server/auto_server.pl b/auto-server/auto_server.pl
index 780763b..ac0cd29 100644
--- a/auto-server/auto_server.pl
+++ b/auto-server/auto_server.pl
@@ -135,7 +135,7 @@ sub join_plus {
# parse out channel name from args:
my $channel;
- if ($args =~ m/^([#&!]?[^ ]+)/) {
+ if ($args =~ m/^([#&!]?[^ ]*)/) {
$channel = $1;
_debug_print ("Channel is: $channel");
}