diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-15 01:53:43 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-15 01:53:43 +0000 |
commit | 13fa09f64fe5fc3ddf5562cefab71900898704e9 (patch) | |
tree | 2ab3074c392687aa10fdb73928fd016a450138bc | |
parent | d7b1e9fb444b1e9c71dd863b1f33ada09197a0f4 (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
-rw-r--r-- | src/channels.cpp | 3 |
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) |