Misc 2FA enhancements

This commit is contained in:
JustArchi
2022-06-05 12:39:04 +02:00
parent aedad9d5b3
commit 7c00d8d03d
2 changed files with 10 additions and 11 deletions

View File

@@ -259,12 +259,10 @@ public static class Utilities {
internal static ulong MathAdd(ulong first, int second) {
if (second >= 0) {
first += (uint) second;
} else {
first -= (uint) -second;
return first + (uint) second;
}
return first;
return first - (uint) -second;
}
internal static bool RelativeDirectoryStartsWith(string directory, params string[] prefixes) {