]> ruin.nu Git - NDIRC.git/blobdiff - Misc.pm
updated deactivateUser and allow -user as command name
[NDIRC.git] / Misc.pm
diff --git a/Misc.pm b/Misc.pm
index b3a1b315bcd108125b427d1ec83d06ab447d8981..96483e10f5e9aa951cd5ac3ffe940805d6496ec6 100644 (file)
--- a/Misc.pm
+++ b/Misc.pm
@@ -64,7 +64,7 @@ sub addCommand {
 
 sub parseCommand {
        my ($msg,$channel) = @_;
-       if ($msg =~ /^(\w+)(?: (.+))?$/){
+       if ($msg =~ /^(\S+)(?: (.+))?$/){
                my $c = $1;
                my $args = $2;
                my @k = keys %commands;