l radio: fix Reaktor pattern

This commit is contained in:
lassulus 2019-05-29 15:39:56 +02:00
parent 4c7f444c70
commit 78a3cfb6ff

View File

@ -199,8 +199,8 @@ in {
workdir = config.krebs.reaktor2.the_playlist.stateDir;
hooks.PRIVMSG = [
{
activate = "match";
pattern = ''!([^ ]+)(?:\s*(.*))?'';
#activate = "match";
pattern = "^\\s*([0-9A-Za-z._][0-9A-Za-z._-]*)(?:\\s+(.*\\S))?\\s*$";
command = 1;
arguments = [2];
commands = {