aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_censor.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2016-08-22 17:11:03 +0200
committerGravatar Attila Molnar2016-08-22 17:11:03 +0200
commit541af0b0a2158a2ca22fa923ff9143800477d2fc (patch)
tree0f7c56b9ee2dded61df73fb588b84506be7bf880 /src/modules/m_censor.cpp
parentAdd stdalgo::string::replace() and replace_all() (diff)
m_censor Switch to stdalgo::string::replace_all()
Diffstat (limited to 'src/modules/m_censor.cpp')
-rw-r--r--src/modules/m_censor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index c8b6b73a8..11a69df9f 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -83,7 +83,7 @@ class ModuleCensor : public Module
return MOD_RES_DENY;
}
- SearchAndReplace(text2, index->first, index->second);
+ stdalgo::string::replace_all(text2, index->first, index->second);
}
}
text = text2.c_str();