added missing variable declarations
[NeonServV5.git] / bot_NeonServ.c
index e8ced621118fc19356f69c2510c37db208888851..207450148cb7773dffeeceb8b0c0914909b496a1 100644 (file)
@@ -2,18 +2,25 @@
 #include "bot_NeonServ.h"
 #include "modcmd.h"
 #include "IRCEvents.h"
+#include "IRCParser.h"
 #include "UserNode.h"
 #include "ChanNode.h"
 #include "ChanUser.h"
 #include "ClientSocket.h"
 #include "mysqlConn.h"
 #include "lang.h"
-#include "HandleInfoHandle.h"
+#include "HandleInfoHandler.h"
+#include "WHOHandler.h"
 
 #define BOTID 1
 #define CLASSNAME "NeonServ"
 
 static const struct default_language_entry msgtab[] = {
+    {"NS_USER_UNKNOWN", "User with nick \002%s\002 does not exist."},
+    {"NS_AUTH_UNKNOWN", "Account \002%s\002 has not been registered."},
+    {"NS_USER_NEED_AUTH", "%s must first authenticate with \002AuthServ\002."},
+    {"NS_INVALID_ACCESS", "\002%d\002 is an invalid access level."},
+    
     {NULL, NULL}
 };
 
@@ -22,6 +29,7 @@ INCLUDE ALL CMD's HERE
 */
 #include "cmd_neonserv_users.c"
 #include "cmd_neonserv_modes.c"
+#include "cmd_neonserv_adduser.c"
 
 static void neonserv_bot_ready(struct ClientSocket *client) {
     MYSQL_RES *res;