mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-06 23:22:40 +02:00
2017-06-05 Fred Gleason <fredg@paravelsystems.com>
* Modified the 'Command Send' ['CC'] RML so as to have a destination argument of 'localhost' be sent to the localhost.
This commit is contained in:
parent
522c8c9996
commit
ddee26a1f1
@ -15819,3 +15819,6 @@
|
||||
2017-06-02 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Updated 'NEWS'.
|
||||
* Incremented the package version to 2.16.0.
|
||||
2017-06-05 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Modified the 'Command Send' ['CC'] RML so as to have a destination
|
||||
argument of 'localhost' be sent to the localhost.
|
||||
|
@ -245,7 +245,10 @@ void RDMacroEvent::exec(int line)
|
||||
if(args.size()==2) {
|
||||
port=args[1].toUInt();
|
||||
}
|
||||
//stationname=event_cmds[line]->arg(0).toString();
|
||||
if(stationname.lower()=="localhost") {
|
||||
rml.setAddress(QString("127.0.0.2"));
|
||||
}
|
||||
else {
|
||||
sql=
|
||||
QString().sprintf("select VARVALUE from HOSTVARS \
|
||||
where (STATION_NAME=\"%s\")&&(NAME=\"%s\")",
|
||||
@ -270,6 +273,7 @@ void RDMacroEvent::exec(int line)
|
||||
rml.setAddress(addr);
|
||||
}
|
||||
delete station;
|
||||
}
|
||||
rml.setArgQuantity(event_cmds[line]->argQuantity()-2);
|
||||
cmd=
|
||||
(RDMacro::Command)(256*event_cmds[line]->arg(1).toString().ascii()[0]+
|
||||
|
Loading…
x
Reference in New Issue
Block a user