diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-08-22 17:11:03 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-08-22 17:11:03 +0200 |
commit | 541af0b0a2158a2ca22fa923ff9143800477d2fc (patch) | |
tree | 0f7c56b9ee2dded61df73fb588b84506be7bf880 /src | |
parent | 5378b913a69f0f8f527eff3d77862cb29df3476e (diff) |
m_censor Switch to stdalgo::string::replace_all()
Diffstat (limited to 'src')
-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(); |