summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-30 00:05:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-30 00:05:48 +0000
commit06134cf16bbb2c12be119df105b9b5a9d516b48d (patch)
treec1d122fdb0154f0bb5a7bcef0acd37e6b3b84759 /src/modules
parent1abbafc07a53803d72865963907d15232b4fd6c5 (diff)
Fix typo that stops m_cban from working
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5828 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 60eb650dd..01386990c 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -5225,16 +5225,16 @@ class ModuleSpanningTree : public Module
userrec* u = (userrec*)target;
s->WriteLine(std::string(":")+ServerInstance->Config->ServerName+" METADATA "+u->nick+" "+extname+" :"+extdata);
}
- else if (target_type == TYPE_OTHER)
- {
- s->WriteLine(std::string(":")+ServerInstance->Config->ServerName+" METADATA * "+extname+" :"+extdata);
- }
else if (target_type == TYPE_CHANNEL)
{
chanrec* c = (chanrec*)target;
s->WriteLine(std::string(":")+ServerInstance->Config->ServerName+" METADATA "+c->name+" "+extname+" :"+extdata);
}
}
+ if (target_type == TYPE_OTHER)
+ {
+ s->WriteLine(std::string(":")+ServerInstance->Config->ServerName+" METADATA * "+extname+" :"+extdata);
+ }
}
virtual void OnEvent(Event* event)