From 9d5915f0d835e4eb988578e95b22d5309e0001de Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 16 Oct 2006 12:44:06 +0000 Subject: Fix: DCC types (CHAT/SEND) are case insensitive git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5470 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_dccallow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 44e001eed..0e712fb1c 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -330,7 +330,7 @@ class ModuleDCCAllow : public Module while (ss >> buf) tokens.push_back(buf); - std::string type = tokens[1]; + irc::string type = tokens[1].c_str(); ServerInstance->Log(DEBUG, "m_dccallow.so: got DCC type %s", type.c_str()); const char* blockchat = Conf->ReadValue("dccallow", "blockchat", 0).c_str(); -- cgit v1.2.3