diff options
| author | 2006-12-03 23:53:21 +0000 | |
|---|---|---|
| committer | 2006-12-03 23:53:21 +0000 | |
| commit | a623bf2363adaf5cb803aef6cde1372893bd892f (patch) | |
| tree | d6ab55ba8513ef9467764a96a6b966a6a66694fc /src/modules/m_spanningtree.cpp | |
| parent | Remove an assignment from definition (damn java thinking) (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.cpp | 4 |
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; |
