summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-10 17:51:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-10 17:51:38 +0000
commit8b8a479207923702a93b28829f400444d3bcc624 (patch)
tree14e797a1a6eba58c738cb09d191e44be74e40135 /src/modules/m_spanningtree
parent78a1d269f8c5163fdcd88252b77176966e9e882f (diff)
Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6645 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp
index 5f628a5e8..d5aeb223c 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -504,17 +504,16 @@ bool TreeSocket::ForceMode(const std::string &source, std::deque<std::string> &p
*/
if (TS <= ourTS)
{
- if (smode)
- {
- this->Instance->SendMode(modelist, n, who);
- }
- else
- {
- this->Instance->CallCommandHandler("MODE", modelist, n, who);
- }
- /* HOT POTATO! PASS IT ON! */
- Utils->DoOneToAllButSender(source,"FMODE",params,sourceserv);
+ if (smode)
+ {
+ this->Instance->SendMode(modelist, n, who);
+ }
+ else
+ {
+ this->Instance->CallCommandHandler("MODE", modelist, n, who);
}
+ /* HOT POTATO! PASS IT ON! */
+ Utils->DoOneToAllButSender(source,"FMODE",params,sourceserv);
}
/* If the TS is greater than ours, we drop the mode and dont pass it anywhere.
*/