mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-06-27 19:07:34 +08:00
change torrent-delete permission judge
This commit is contained in:
@@ -24,7 +24,7 @@ $row = mysql_fetch_array($res);
|
||||
if (!$row)
|
||||
die();
|
||||
|
||||
if (!user_can('torrentmanage'))
|
||||
if (!user_can('torrentmanage') || !user_can('torrent-delete'))
|
||||
bark($lang_fastdelete['text_no_permission']);
|
||||
|
||||
if (!$sure)
|
||||
|
||||
Reference in New Issue
Block a user