changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_giveowner.c
index 450d63418521a50a99d0aef5b61e45d7df92ecef..8f173ac326511f74440d9826d8b5270b5bb860f0 100644 (file)
@@ -1,4 +1,6 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0] - nick / *auth
 * argv[1] - key
@@ -18,7 +20,7 @@ struct neonserv_cmd_giveowner_cache {
     char *key;
 };
 
-static CMD_BIND(neonserv_cmd_giveowner) {
+CMD_BIND(neonserv_cmd_giveowner) {
     MYSQL_RES *res;
     MYSQL_ROW row;
     printf_mysql_query("SELECT `channel_lastgiveowner` FROM `channels` WHERE `channel_id` = '%d'", chan->channel_id);