Try to fix double loading

This commit is contained in:
Zontreck 2020-06-21 01:36:27 -07:00
parent 26bd15fa27
commit 5e9c8cfc89
3 changed files with 3 additions and 17 deletions

View file

@ -57,6 +57,7 @@ namespace Bot.WebHookServer
}
public void run(GridClient client, MessageHandler MH, CommandRegistry registry)
{
if (listener != null) return;// Already had run triggered
try
{
listener = new HttpListener();