- ircsnprintf(filename, sizeof(filename), "%s/%s", UHPATH, ldirent->d_name);
-
-#if defined(S_ISLNK) && defined(HAVE_LSTAT)
- if(lstat(filename, &sb) < 0)
- continue;
-
- /* ok, if its a symlink, we work on the presumption if an
- * oper help exists of that name, its a symlink to that --fl
- */
- if(S_ISLNK(sb.st_mode))
- {
- cacheptr = irc_dictionary_retrieve(help_dict, ldirent->d_name);
-
- if(cacheptr != NULL && cacheptr->flags & HELP_OPER) /* is this really needed? --nenolod */
- {
- cacheptr->flags |= HELP_USER;
- continue;
- }
- }
-#endif
+ rb_snprintf(filename, sizeof(filename), "%s/%s", UHPATH, ldirent->d_name);