From 57decf2949a024ec9f6b6de43e7d18be7a334b32 Mon Sep 17 00:00:00 2001 From: lub Date: Thu, 23 Jul 2015 14:38:38 +0200 Subject: [PATCH] create semi-permanent instead of permanent channels --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index fd75182..259ab42 100644 --- a/functions.php +++ b/functions.php @@ -2,7 +2,7 @@ function createChannel($server, $name, $parent, $options) { $id = $server->channelCreate(array( 'channel_name' => $name, - 'channel_flag_permanent' => TRUE, + 'channel_flag_semi_permanent' => TRUE, 'cpid' => $parent->getId() )); if($options['inherit_icons']) {