From b16e16ac1bae4ac5494778b4b8a7009febb58137 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 23 Oct 2009 22:47:39 +0000 Subject: Make User::uuid and User::server const git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index a4c24b455..fd9861279 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -483,16 +483,6 @@ void Channel::PartUser(User *user, std::string &reason) this->DelUser(user); } -void Channel::ServerKickUser(User* user, const char* reason, const std::string& servername) -{ - if (servername.empty() || !ServerInstance->Config->HideWhoisServer.empty()) - ServerInstance->FakeClient->server = ServerInstance->Config->ServerName; - else - ServerInstance->FakeClient->server = servername; - - KickUser(ServerInstance->FakeClient, user, reason); -} - void Channel::KickUser(User *src, User *user, const char* reason) { if (!src || !user || !reason) -- cgit v1.2.3