aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorricho <richo@psych0tik.net>2011-07-18 03:39:15 +0000
committerricho <richo@psych0tik.net>2011-07-18 03:39:15 +0000
commit09e42871973ea59b68787b14af6685f30fd750ad (patch)
treeac457ab8897a676fd8d51ecc86b0d7ec7977bc52
parentRecognise other channel prefixes and characters (diff)
downloadirssi-scripts-09e42871973ea59b68787b14af6685f30fd750ad.tar.gz
irssi-scripts-09e42871973ea59b68787b14af6685f30fd750ad.zip
at least on some networks, just a prefix is valid
-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");
}