summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-03 23:53:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-03 23:53:21 +0000
commita623bf2363adaf5cb803aef6cde1372893bd892f (patch)
treed6ab55ba8513ef9467764a96a6b966a6a66694fc /src/modules/m_spanningtree.cpp
parente4d065f896ff6e8eef10b0fa554e47d969ef0354 (diff)
Account for channels with no modes set
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5838 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files 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;