projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ce88dd8
)
fixed bot_NeonServ.c
author
pk910
<philipp@zoelle1.de>
Sun, 14 Aug 2011 17:22:50 +0000
(19:22 +0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 14 Aug 2011 17:24:07 +0000
(19:24 +0200)
bot_NeonServ.c
patch
|
blob
|
history
diff --git
a/bot_NeonServ.c
b/bot_NeonServ.c
index ebed8547fdd063eb78e5d151452dd372d71d42bc..1ee7fe45930a75800d6b92f7acd87c7c15284ad4 100644
(file)
--- 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;
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->botid = BOTID;
- client->clientid = row[7];
+ client->clientid =
*
row[7];
connect_socket(client);
}
connect_socket(client);
}