From 0754da58da96316a9ff4505f9c7c712c1f0094b6 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 17 Sep 2016 14:51:57 -0700 Subject: some changes merged from wrong branch... new function channel_reddress() instead of hardwired generation and which fixes case-sensitivity; allow dot notation in config and pconfig utils, updated string file --- util/pconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util/pconfig') diff --git a/util/pconfig b/util/pconfig index 1afba8306..1847a5a81 100755 --- a/util/pconfig +++ b/util/pconfig @@ -54,6 +54,13 @@ EndOfOutput; } +if($argc > 2 && strpos($argv[2],'.')) { + $x = explode('.',$argv[2]); + $argv = [ $argv[0], $argv[1], $x[0], $x[1], (($argc > 3) ? $argv[3] : null) ]; + $argc = $argc + 1; +} + + if($argc > 4) { set_pconfig($argv[1],$argv[2],$argv[3],$argv[4]); build_sync_packet($argv[1]); -- cgit v1.2.3