[BUGFIX] RequireOnce removal leaves semicolon

Resolves: #58708
Merge pull request #15 from MaxServ/master

[BUGFIX] RequireOnce removal leaves semicolon