Skip to content

Commit 59b4711

Browse files
committed
fix tpa bug. It should not expire ever if ExpireDelay <= 0
1 parent 7e53fd1 commit 59b4711

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Commands/CommandTpa.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,6 @@ public override CommandResult OnExecute(ICommandSource src, ICommandArgs args) {
180180
.Action(() => Requests.Remove(senderId))
181181
.Delay(TimeSpan.FromSeconds(tpaSettings.ExpireDelay))
182182
.Submit();
183-
} else {
184-
Requests.Remove(senderId);
185183
}
186184
break;
187185
}

0 commit comments

Comments
 (0)