projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** VERSION 5.5.0 ***
[NeonServV5.git]
/
src
/
modules
/
NeonFun.mod
/
bot_NeonFun.c
diff --git
a/src/modules/NeonFun.mod/bot_NeonFun.c
b/src/modules/NeonFun.mod/bot_NeonFun.c
index 3679234aea712bdeeda7ba8eb8c6aae8fa48fca4..d2352c94ffbff0fc7cb7e5fde92fff62b28bd4b3 100644
(file)
--- a/
src/modules/NeonFun.mod/bot_NeonFun.c
+++ b/
src/modules/NeonFun.mod/bot_NeonFun.c
@@
-1,4
+1,4
@@
-/* bot_NeonFun.c - NeonServ v5.
4
+/* bot_NeonFun.c - NeonServ v5.
5
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-128,16
+128,11
@@
static void start_bots(int type) {
bind_unbound_required_functions(BOTID);
}
bind_unbound_required_functions(BOTID);
}
-static void neonfun_parted(struct ChanUser *chanuser, char *reason) {
+static void neonfun_parted(struct ChanUser *chanuser,
int quit,
char *reason) {
uno_event_part(chanuser);
fourwins_event_part(chanuser);
}
uno_event_part(chanuser);
fourwins_event_part(chanuser);
}
-static void neonfun_quitted(struct UserNode *user, char *reason) {
- uno_event_quit(user);
- fourwins_event_quit(user);
-}
-
static int neonfun_freechan(struct ChanNode *chan) {
uno_event_freechan(chan);
fourwins_event_freechan(chan);
static int neonfun_freechan(struct ChanNode *chan) {
uno_event_freechan(chan);
fourwins_event_freechan(chan);
@@
-183,7
+178,6
@@
void init_NeonFun(int type) {
//register events
bind_bot_ready(neonfun_bot_ready, module_id);
bind_part(neonfun_parted, module_id);
//register events
bind_bot_ready(neonfun_bot_ready, module_id);
bind_part(neonfun_parted, module_id);
- bind_quit(neonfun_quitted, module_id);
bind_freechan(neonfun_freechan, module_id);
bind_invite(neonfun_event_invite, module_id);
bind_freechan(neonfun_freechan, module_id);
bind_invite(neonfun_event_invite, module_id);