projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed some bugs
[NeonServV5.git]
/
src
/
modules
/
NeonServ.mod
/
bot_NeonServ.c
diff --git
a/src/modules/NeonServ.mod/bot_NeonServ.c
b/src/modules/NeonServ.mod/bot_NeonServ.c
index 16d6dbdfe5d943568b1deeb64c53a97f13967364..4d377e4e2e5033e8604c4712e92cab495ab882b6 100644
(file)
--- a/
src/modules/NeonServ.mod/bot_NeonServ.c
+++ b/
src/modules/NeonServ.mod/bot_NeonServ.c
@@
-418,6
+418,8
@@
struct ClientSocket *getBotForChannel(struct ChanNode *chan) {
}
static void neonserv_bot_ready(struct ClientSocket *client) {
+ if(client->botid != BOTID)
+ return;
MYSQL_RES *res;
MYSQL_ROW row;