summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 4c6634a16..558356371 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -581,7 +581,7 @@ void kick_channel(userrec *src,userrec *user, chanrec *Ptr, char* reason)
log(DEBUG,"kick_channel: removing: %s %s %s",user->nick,Ptr->name,src->nick);
- if (IS_LOCAL(user))
+ if (IS_LOCAL(src))
{
if (!has_channel(user,Ptr))
{