mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-27 07:28:40 +00:00
Quick fixes (awesome name)
This commit is contained in:
parent
68dbf50253
commit
0c8ff50176
5 changed files with 15 additions and 13 deletions
|
@ -77,12 +77,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.";
|
|||
{
|
||||
announceText.Append("This server instance requires the use of the Patchwork plugin for LBP.\n\n");
|
||||
|
||||
if (PatchworkHelper.userHasValidPatchworkUserAgent(user.UserAgent))
|
||||
if (!PatchworkHelper.UserHasValidPatchworkUserAgent(this.Request.Headers.UserAgent.ToString()))
|
||||
{
|
||||
announceText.Append("It appears you do not have the Patchwork plugin installed correctly." +
|
||||
"Since this server instance requires it, you will not be able to play until you so.");
|
||||
"Since this server instance requires it, you will not be able to play until you so.");
|
||||
|
||||
await LogoutHelper.Logout(token, user, database);
|
||||
}
|
||||
await LogoutHelper.Logout(token, user, database);
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue