projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
480937b
)
handle kick events even if the target user is a service
author
pk910
<philipp@zoelle1.de>
Mon, 26 Dec 2011 14:38:28 +0000
(15:38 +0100)
committer
pk910
<philipp@zoelle1.de>
Mon, 26 Dec 2011 14:38:28 +0000
(15:38 +0100)
src/hash.c
patch
|
blob
|
history
diff --git
a/src/hash.c
b/src/hash.c
index eb2d54acfa07f608eb5e9ea8d88c8bb78c0e2b14..a55ad9ba92568bc06f6e3b031953a41bce38f273 100644
(file)
--- a/
src/hash.c
+++ b/
src/hash.c
@@
-665,9
+665,9
@@
ChannelUserKicked(struct userNode* kicker, struct userNode* victim, struct chanN
unsigned int n;
struct modeNode *mn;
- if (!victim || !channel ||
IsService(victim) ||
!GetUserMode(channel, victim))
+ if (!victim || !channel || !GetUserMode(channel, victim))
return;
-
+
/* Update the kicker's idle time (kicker may be null if it was a server) */
if (kicker && (mn = GetUserMode(channel, kicker)))
mn->idle_since = now;