projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
06de317
)
the bots need to get the right botid
author
pk910
<philipp@zoelle1.de>
Sat, 13 Aug 2011 01:13:49 +0000
(
03:13
+0200)
committer
pk910
<philipp@zoelle1.de>
Sat, 13 Aug 2011 01:13:49 +0000
(
03:13
+0200)
bot_NeonServ.c
patch
|
blob
|
history
diff --git
a/bot_NeonServ.c
b/bot_NeonServ.c
index 364549f7d5f997d94a01af9684747c7c0cdf77f4..a2158be4c9f264e10311bc7b8a9bd998cd6b0b63 100644
(file)
--- a/
bot_NeonServ.c
+++ b/
bot_NeonServ.c
@@
-41,6
+41,7
@@
static void start_bots() {
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;
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;
+ client->botid = BOTID;
connect_socket(client);
user = addUser("TestBot2");
connect_socket(client);
user = addUser("TestBot2");
@@
-48,6
+49,7
@@
static void start_bots() {
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
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->botid = BOTID;
connect_socket(client);
}
connect_socket(client);
}