permissions issue
This commit is contained in:
parent
96b7bfb32c
commit
ebd92d736a
@ -319,14 +319,14 @@ class Channel {
|
|||||||
foreach($global_perms as $k => $perm) {
|
foreach($global_perms as $k => $perm) {
|
||||||
$options = array();
|
$options = array();
|
||||||
foreach($perm_opts as $opt) {
|
foreach($perm_opts as $opt) {
|
||||||
if((! strstr($perm,'view')) && $opt[1] == PERMS_PUBLIC)
|
if((! strstr($k,'view')) && $opt[1] == PERMS_PUBLIC)
|
||||||
continue;
|
continue;
|
||||||
$options[$opt[1]] = $opt[0];
|
$options[$opt[1]] = $opt[0];
|
||||||
}
|
}
|
||||||
$permiss[] = array($k,$perm,$limits[$k],'',$options);
|
$permiss[] = array($k,$perm,$limits[$k],'',$options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$username = $channel['channel_name'];
|
$username = $channel['channel_name'];
|
||||||
$nickname = $channel['channel_address'];
|
$nickname = $channel['channel_address'];
|
||||||
$timezone = $channel['channel_timezone'];
|
$timezone = $channel['channel_timezone'];
|
||||||
|
14205
util/hmessages.po
14205
util/hmessages.po
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user