diff options
Diffstat (limited to 'src/modules')
-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(); |