mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +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