From a33632a722ff73ae8f8f455c0f34def8b54ed06e Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 16 Oct 2006 12:50:47 +0000 Subject: ReadFlag, oops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5473 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_dccallow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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") { -- cgit v1.2.3