summaryrefslogtreecommitdiff
path: root/src/modules/m_censor.cpp
diff options
context:
space:
mode:
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 6711dc419..d42e8b324 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -142,7 +142,7 @@ class ModuleCensor : public Module
return OnUserPreMessage(user,dest,target_type,text,status);
}
- virtual void OnRehash(std::string parameter)
+ virtual void OnRehash(const std::string &parameter)
{
/*
* reload our config file on rehash - we must destroy and re-allocate the classes