summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-16 12:44:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-16 12:44:06 +0000
commit9d5915f0d835e4eb988578e95b22d5309e0001de (patch)
tree2ae957cc4a874ba144cebc4d68acfcd6e05efe56 /src
parenta7bd84cb31129d445e1c9d4c208e96dc1929898e (diff)
Fix: DCC types (CHAT/SEND) are case insensitive
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5470 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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 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();