static struct current_funcmd_header current_funcmd;
#define FUNCMD_HEADER \
-current_funcmd.client = getTextBot(); \
+current_funcmd.client = textclient; \
current_funcmd.user = user; \
current_funcmd.chan = chan; \
{\
res = mysql_use(); \
row = mysql_fetch_row(res); \
if(!row || !strcmp(row[0], "0")) { \
- reply(getTextBot(), user, "NS_FUN_DISABLED", chan->name); \
+ reply(textclient, user, "NS_FUN_DISABLED", chan->name); \
return; \
} else if(!strcmp(row[0], "1")) \
current_funcmd.send_notice = 1; \