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:
ef2f721
)
fixed small declaration error caused by da9c3e6
author
pk910
<philipp@zoelle1.de>
Sat, 3 Nov 2012 13:59:34 +0000
(14:59 +0100)
committer
pk910
<philipp@zoelle1.de>
Sat, 3 Nov 2012 13:59:34 +0000
(14:59 +0100)
src/modules/NeonServ.mod/event_neonserv_mode.c
patch
|
blob
|
history
diff --git
a/src/modules/NeonServ.mod/event_neonserv_mode.c
b/src/modules/NeonServ.mod/event_neonserv_mode.c
index 87d4495f9d4697aad51f82bdd08aaf1e05ecafa2..b6d06527e1ca04fdd4ad9470355d726158515159 100644
(file)
--- a/
src/modules/NeonServ.mod/event_neonserv_mode.c
+++ b/
src/modules/NeonServ.mod/event_neonserv_mode.c
@@
-201,6
+201,9
@@
static void neonserv_event_mode_async1(struct ClientSocket *client, struct UserN
reply(textclient, user, "NS_MODE_CANBAN", chan->name);
db_canban = -1;
}
reply(textclient, user, "NS_MODE_CANBAN", chan->name);
db_canban = -1;
}
+ char hostmask_buffer[NICKLEN+USERLEN+HOSTLEN+3];
+ char usermask[NICKLEN+USERLEN+HOSTLEN+3];
+ int match_count = 0;
if(db_canban == -1) {
if(!neonserv_cmd_mode_botwar_detect(client, user, chan, &botwar_detect_executed)) {
if(!add) {
if(db_canban == -1) {
if(!neonserv_cmd_mode_botwar_detect(client, user, chan, &botwar_detect_executed)) {
if(!add) {
@@
-222,9
+225,6
@@
static void neonserv_event_mode_async1(struct ClientSocket *client, struct UserN
deop_user = 1;
break;
}
deop_user = 1;
break;
}
- char hostmask_buffer[NICKLEN+USERLEN+HOSTLEN+3];
- char usermask[NICKLEN+USERLEN+HOSTLEN+3];
- int match_count = 0;
carg = make_banmask(carg, hostmask_buffer);
if(add) {
for(chanuser = getChannelUsers(chan, NULL); chanuser; chanuser = getChannelUsers(chan, chanuser)) {
carg = make_banmask(carg, hostmask_buffer);
if(add) {
for(chanuser = getChannelUsers(chan, NULL); chanuser; chanuser = getChannelUsers(chan, chanuser)) {