summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_dccallow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index 02331ce82..59aeb7725 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -333,7 +333,7 @@ virtual int OnUserPreNotice(userrec* user, void* dest, int target_type, std::str
irc::string type = tokens[1].c_str();
ServerInstance->Log(DEBUG, "m_dccallow.so: got DCC type %s", type.c_str());
- bool blockchat = Conf->ReadBool("dccallow", "blockchat", 0);
+ bool blockchat = Conf->ReadFlag("dccallow", "blockchat", 0);
if (type == "SEND")
{