diff options
-rw-r--r-- | src/mode.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_opersha256.cpp | 2 |
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" |