projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added cmd_bots (lists all bots)
[NeonServV5.git]
/
src
/
bot_DummyServ.c
diff --git
a/src/bot_DummyServ.c
b/src/bot_DummyServ.c
index 3ebe2676525234972df8918825f385a5c14bad8d..b618045e242f625a0d641569d8f0c5b3ab1e7431 100644
(file)
--- a/
src/bot_DummyServ.c
+++ b/
src/bot_DummyServ.c
@@
-39,6
+39,7
@@
#include "cmd_neonspam.h"
#define BOTID 3
#include "cmd_neonspam.h"
#define BOTID 3
+#define BOTALIAS "DummyServ"
static void dummyserv_bot_ready(struct ClientSocket *client) {
MYSQL_RES *res;
static void dummyserv_bot_ready(struct ClientSocket *client) {
MYSQL_RES *res;
@@
-105,6
+106,7
@@
static void start_bots() {
void init_DummyServ() {
void init_DummyServ() {
+ set_bot_alias(BOTID, BOTALIAS);
start_bots();
//register events
start_bots();
//register events
@@
-122,3
+124,4
@@
void free_DummyServ() {
}
#undef BOTID
}
#undef BOTID
+#undef BOTALIAS