From a623bf2363adaf5cb803aef6cde1372893bd892f Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 3 Dec 2006 23:53:21 +0000 Subject: [PATCH] Account for channels with no modes set git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5838 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 3a6b8f98e..889ca94b0 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1104,8 +1104,8 @@ class TreeSocket : public InspSocket /* Chances are this is a 1.0 FMODE without TS */ if (params.size() < 3) { - this->WriteLine("ERROR :Version 1.0 FMODE sent to version 1.1 server"); - return false; + /* No modes were in the command, probably a channel with no modes set on it */ + return true; } bool smode = false; -- 2.39.5