Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 20e4ffa

Browse files
author
Yucong Sun
committed
fix daemon/help_d.c
1 parent 3804e51 commit 20e4ffa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/daemons/help_d.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private mapping restrict;
4949
private nosave int pending_count;
5050
private nosave object initiator;
5151

52-
private nosave array ignore = ({ DIR_HELP "/autodoc/FIXME/" });
52+
private nosave mixed *ignore = ({ DIR_HELP "/autodoc/FIXME/" });
5353

5454
nomask void process_dir(string path);
5555

@@ -182,7 +182,7 @@ nomask string * find_topic(string name)
182182
lvl = adminp(this_user()) ? 5 : wizardp(this_user()) ? 1 : 0;
183183

184184
return filter_array(result, function(string file, int lvl){
185-
*parts = explode(file, "/");
185+
mixed *parts = explode(file, "/");
186186
if (sizeof(parts) < 3) return 1;
187187
return (lvl >= restrict[parts[1]]);
188188
}, lvl);

0 commit comments

Comments
 (0)