summaryrefslogtreecommitdiff
path: root/src/modules/m_foobar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_foobar.cpp')
-rw-r--r--src/modules/m_foobar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index 7a8ac8e32..1f8d0c3bd 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -77,7 +77,7 @@ class ModuleFoobar : public Module
ServerInstance->Logs->Log("m_foobar",DEBUG,"Foobar: User "+b+" joined "+c);
}
- virtual void OnUserPart(User* user, Channel* channel, const std::string &partreason, bool &silent)
+ virtual void OnUserPart(User* user, Channel* channel, std::string &partreason, bool &silent)
{
// method called when a user parts a channel