summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-04 18:24:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-04 18:24:11 +0000
commit361e7957fee01a74a195ef431e8958c2216f7744 (patch)
tree63aa63d370a58961b68ee060d3bf731247d91063
parent8d95e3d343901a5571351787a3020db1e4aea238 (diff)
Check for non-existent channel in FMODE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5415 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 4849d50c4..53f5d2909 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1147,6 +1147,9 @@ class TreeSocket : public InspSocket
{
ourTS = chan->age;
}
+ else
+ /* Oops, channel doesnt exist! */
+ return true;
}
/* TS is equal: Merge the mode changes, use voooodoooooo on modes