From 361e7957fee01a74a195ef431e8958c2216f7744 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 4 Oct 2006 18:24:11 +0000 Subject: Check for non-existent channel in FMODE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5415 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules') 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 -- cgit v1.2.3