From be164408bab4128c4e67b6ac2e0f0183702c1790 Mon Sep 17 00:00:00 2001 From: Rich Healey Date: Fri, 7 Jan 2011 14:13:41 +1100 Subject: - is a valid character in a channel name. --- auto-server/auto_server.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto-server') diff --git a/auto-server/auto_server.pl b/auto-server/auto_server.pl index a9f6645..447a131 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/^(#?[#a-zA-Z0-9]+)/) { + if ($args =~ m/^(#?[#a-zA-Z0-9-]+)/) { $channel = $1; _debug_print ("Channel is: $channel"); } -- cgit v1.2.3