multiple fixes
[NeonServV5.git] / src / modules / NeonServ.mod / cmd_neonserv_extscript.c
index e4a4e2e345ca02688eb6a6a0182ef51e00e69826..35564e288371434c9548797ca4ee2e69efeb3a99 100644 (file)
@@ -139,7 +139,7 @@ CMD_BIND(neonserv_cmd_extscript) {
     #ifndef WIN32
     fcntl(fileno(cache->pipe), F_SETFL, O_NONBLOCK);
     #endif
-    timeq_uadd(200, neonserv_cmd_extscript_callback, cache);
+    timeq_uadd(200, module_id, neonserv_cmd_extscript_callback, cache);
 }
 
 static TIMEQ_CALLBACK(neonserv_cmd_extscript_callback) {
@@ -163,7 +163,7 @@ static TIMEQ_CALLBACK(neonserv_cmd_extscript_callback) {
         else
             reply(cache->textclient, cache->user, "%s", command);
     }
-    timeq_uadd(200, neonserv_cmd_extscript_callback, cache);
+    timeq_uadd(200, module_id, neonserv_cmd_extscript_callback, cache);
 }