summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-27 12:12:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-27 12:12:52 +0000
commit3c3165311b072a8db9ffe3757606a4ccef294465 (patch)
tree3f1848b5b9ddcd7a5de3929a48a71bf7a03f09f7 /src/mode.cpp
parentf7c35fff223b905b4386989ba007db9b76b6921d (diff)
Problems removing +t due to wrong bit-value being used in comparison
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2931 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 16d7322ec..4f7339bac 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -864,7 +864,7 @@ void ModeParser::ProcessModes(char **parameters,userrec* user,chanrec *chan,int
}
else
{
- if (chan->binarymodes & CM_NOEXTERNAL) strlcat(outlist,"t",MAXBUF);
+ if (chan->binarymodes & CM_TOPICLOCK) strlcat(outlist,"t",MAXBUF);
chan->binarymodes &= ~CM_TOPICLOCK;
}
}