From bd42c98e793003a79583c29c35df9a05dace2e90 Mon Sep 17 00:00:00 2001 From: pk910 Date: Sun, 14 Aug 2011 19:22:50 +0200 Subject: [PATCH] fixed bot_NeonServ.c --- bot_NeonServ.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.20.1