diff options
| author | 2016-08-22 17:11:03 +0200 | |
|---|---|---|
| committer | 2016-08-22 17:11:03 +0200 | |
| commit | 541af0b0a2158a2ca22fa923ff9143800477d2fc (patch) | |
| tree | 0f7c56b9ee2dded61df73fb588b84506be7bf880 /src/modules/m_censor.cpp | |
| parent | Add 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.cpp | 2 |
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(); |
