Quote:
Originally Posted by V8Owner
I have been running this mod since it's introduction.
Today i discovered that admins can also read users PM's.
Is there anyway to make it so Admins CAN'T read PM's?
Cheers 
|
It's not pretty but a quick edit will help.
Edit the plugin: Admin Log In As User on fetch_userinfo_query hook:
Change the line:
PHP Code:
if (!$processed_admin_log_in_as_user)
to
PHP Code:
if (!$processed_admin_log_in_as_user AND THIS_SCRIPT != 'private')
That will not allow an Admin to view a user's PMs. If they try they will be redirected to their own PMs instead.
It's ugly because the "You are logged in as someone else" banner doesn't go away but it does what is has to do.