]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_regex_tre.cpp
Attach to events and register services in init()
[user/henk/code/inspircd.git] / src / modules / extra / m_regex_tre.cpp
index 9693d12580ab020f8ce69d74a63d6bedbba16b0e..4b9eab472266c0dece1e10e683979981bdd9865a 100644 (file)
@@ -32,7 +32,7 @@ class TRERegexException : public ModuleException
 {
 public:
        TRERegexException(const std::string& rx, const std::string& error)
-               : ModuleException(std::string("Error in regex ") + rx + ": " + error)
+               : ModuleException("Error in regex " + rx + ": " + error)
        {
        }
 };