diff --git a/src/azbelt.nim b/src/azbelt.nim index 7c9a2d2..5c1849e 100644 --- a/src/azbelt.nim +++ b/src/azbelt.nim @@ -84,4 +84,5 @@ proc DllMain(hinstDLL: HINSTANCE, fdwReason: DWORD, lpvReserved: LPVOID) : BOOL when isMainModule: - go(paramStr(1)) \ No newline at end of file + if paramCount() > 0: + go(paramStr(1))