summaryrefslogtreecommitdiff
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
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
-rw-r--r--src/mode.cpp2
-rw-r--r--src/modules/m_opersha256.cpp2
2 files changed, 2 insertions, 2 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;
}
}
diff --git a/src/modules/m_opersha256.cpp b/src/modules/m_opersha256.cpp
index 6437a1050..f7cb6afca 100644
--- a/src/modules/m_opersha256.cpp
+++ b/src/modules/m_opersha256.cpp
@@ -37,7 +37,7 @@
using namespace std;
#include <stdio.h>
-#include <stdint.h>
+#include "inttypes.h"
#include "users.h"
#include "channels.h"
#include "modules.h"