From e5ed121b216a7a19e706a4abea398b3d7c50aa7b Mon Sep 17 00:00:00 2001 From: DavidFirefox <44535056+DavidFirefox@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:12:56 +0200 Subject: [PATCH] Update init.php With ruTorrent 4.3.4 this file generate a crash of ruTorrent with this plugin. This modifications keep logoff plugin to work with ruTorrent 4.3.4. Discus here : https://github.com/Novik/ruTorrent/discussions/2676 --- init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.php b/init.php index 3f06cec..e472126 100644 --- a/init.php +++ b/init.php @@ -1,7 +1,7 @@ 4.x -$me = getUser(); +$me = User::getUser(); // update to work with ruTorrent > 4.x $users = array(); $dirs = scandir($rootPath . "/share/users/");