summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-06 20:28:50 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-06 20:28:50 +0000
commitc40ce687100f9db5be42a135673f00dd2ba65338 (patch)
treec8334b9a638e0038da0789e9f7e33c4a6074ac0a
parentc630870d50354d426380029014ad9ebdf257b85d (diff)
Compile fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11685 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 4084257e5..8d705f0ca 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1230,7 +1230,7 @@ void ServerConfig::ApplyModules(User* user)
for (std::set<std::string>::iterator removing = removed_modules.begin(); removing != removed_modules.end(); removing++)
{
// Don't remove cmd_*.so, just remove m_*.so
- if (removing[0] == 'c')
+ if (removing->c_str()[0] == 'c')
continue;
if (ServerInstance->Modules->Unload(removing->c_str()))
{