From 25f6cb0fe66057f62c4c1d58beefe0595098897d Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 8 Aug 2006 12:20:45 +0000 Subject: kick_channel -> chanrec::KickUser(), server_kick_channel -> chanrec::ServerKickUser() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4782 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 9bb8e9a05..bda6f765b 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -428,11 +428,11 @@ void Server::KickUser(userrec* source, userrec* target, chanrec* chan, const std { if (source) { - kick_channel(source,target,chan,(char*)reason.c_str()); + chan->KickUser(source, target, reason.c_str()); } else { - server_kick_channel(target,chan,(char*)reason.c_str(),true); + chan->ServerKickUser(target, reason.c_str(), true); } } -- cgit v1.2.3