moved all the bot things into bot_NeonServ.c
[NeonServV5.git] / main.c
diff --git a/main.c b/main.c
index 58609a3ce906bcd315c21b9c785c2a8cf514d021..1dd49500f38975fd51173d1dd2224977a6f56c53 100644 (file)
--- a/main.c
+++ b/main.c
@@ -9,26 +9,6 @@
 #include "WHOHandler.h"
 #include "bots.h"
 
-void just_test_it() {
-    struct UserNode *user;
-    struct ClientSocket *client;
-    
-    user = addUser("TestBot");
-    strcpy(user->ident, "test");
-    strcpy(user->realname, "testUser!");
-    user->flags |= USERFLAG_ISBOT;
-    client = create_socket("127.0.0.1", 6667, "pktest:pktest123", user); //pktest Hostmask(s): *@127.0.0.1
-    client->flags |= SOCKET_FLAG_PREFERRED;
-    connect_socket(client);
-    
-    user = addUser("TestBot2");
-    strcpy(user->ident, "test");
-    strcpy(user->realname, "testUser!");
-    user->flags |= USERFLAG_ISBOT;
-    client = create_socket("127.0.0.1", 6667, "pktest:pktest123", user); //pktest Hostmask(s): *@127.0.0.1
-    connect_socket(client);
-}
-
 void cleanup() {
     free_sockets();
     free_parser();
@@ -48,7 +28,6 @@ int main(void)
     init_bind();
        init_modcmd();
     init_bots();
-    just_test_it();
     
     time_t socket_wait;
     while(1) {