fixed bot_NeonServ.c
[NeonServV5.git] / bot_NeonServ.c
index ebed8547fdd063eb78e5d151452dd372d71d42bc..1ee7fe45930a75800d6b92f7acd87c7c15284ad4 100644 (file)
@@ -57,10 +57,10 @@ static void start_bots() {
         strcpy(user->ident, row[1]);
         strcpy(user->realname, row[2]);
         user->flags |= USERFLAG_ISBOT;
-        client = create_socket(row[3], row[4], row[5], user);
-        client->flags |= (row[6] == 1 ? SOCKET_FLAG_PREFERRED : 0);
+        client = create_socket(row[3], *row[4], row[5], user);
+        client->flags |= (*row[6] == 1 ? SOCKET_FLAG_PREFERRED : 0);
         client->botid = BOTID;
-        client->clientid = row[7];
+        client->clientid = *row[7];
         connect_socket(client);
         
     }