summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-15 01:53:43 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-15 01:53:43 +0000
commit13fa09f64fe5fc3ddf5562cefab71900898704e9 (patch)
tree2ab3074c392687aa10fdb73928fd016a450138bc /src
parentd7b1e9fb444b1e9c71dd863b1f33ada09197a0f4 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/channels.cpp3
1 files changed, 1 insertions, 2 deletions
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)