diff options
-rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
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(); |