-/* cmd_funcmds.c - NeonServ v5.4
+/* cmd_funcmds.c - NeonServ v5.6
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
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; \