From 13fa09f64fe5fc3ddf5562cefab71900898704e9 Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 15 Mar 2010 01:53:43 +0000 Subject: Use CycleHostsFromUser for on-join modes too (m_autoop) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12637 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index cdc988139..0ad99fb94 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -392,9 +392,8 @@ Channel* Channel::ForceChan(Channel* Ptr, User* user, const std::string &privs, for(unsigned int i=0; i < memb->modes.length(); i++) ms.append(" ").append(user->nick); if ((Ptr->GetUserCounter() > 1) && (ms.length())) - Ptr->WriteAllExceptSender(user, true, 0, "MODE %s +%s", Ptr->name.c_str(), ms.c_str()); + Ptr->WriteAllExceptSender(user, ServerInstance->Config->CycleHostsFromUser, 0, "MODE %s +%s", Ptr->name.c_str(), ms.c_str()); - /* Major improvement by Brain - we dont need to be calculating all this pointlessly for remote users */ if (IS_LOCAL(user)) { if (Ptr->topicset) -- cgit v1.2.3