X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=bot_NeonServ.c;h=1ee7fe45930a75800d6b92f7acd87c7c15284ad4;hb=bd42c98e793003a79583c29c35df9a05dace2e90;hp=ebed8547fdd063eb78e5d151452dd372d71d42bc;hpb=ce88dd81b864ad489b0533acd9120f5bae9cb9a7;p=NeonServV5.git diff --git a/bot_NeonServ.c b/bot_NeonServ.c index ebed854..1ee7fe4 100644 --- a/bot_NeonServ.c +++ b/bot_NeonServ.c @@ -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); }