I am working on an extended bantype module. So far everything works just fine except that I can't call TStime() from my extban callback function.
When I try to compile with TStime in the function I get this error: "called object is not a function".
Here is the callback function:
Code: Select all
char *extban_modet_conv_param(char *para_in)
{
TS test = TStime();
return NULL;
}
Code: Select all
ExtbanInfo req;
memset(&req, 0, sizeof(ExtbanInfo));
req.flag = 't';
req.conv_param = extban_modet_conv_param;
Thanks,
farklem