summaryrefslogtreecommitdiff
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-16 12:50:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-16 12:50:47 +0000
commita33632a722ff73ae8f8f455c0f34def8b54ed06e (patch)
tree6befe88d552f6e38c8bf8175e67b93764f902a2a /src/modules/m_dccallow.cpp
parent618a79478aa9b6ad819c3515a86d25628725e560 (diff)
ReadFlag, oops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5473 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-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")
{