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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index deb4c1229..a42275127 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -74,7 +74,7 @@ class ModuleFoobar : public Module
ServerInstance->Log(DEBUG,"Foobar: User quitting: "+b);
}
- virtual void OnUserJoin(userrec* user, chanrec* channel)
+ virtual void OnUserJoin(userrec* user, chanrec* channel, bool &silent)
{
// method called when a user joins a channel
@@ -83,7 +83,7 @@ class ModuleFoobar : public Module
ServerInstance->Log(DEBUG,"Foobar: User "+b+" joined "+c);
}
- virtual void OnUserPart(userrec* user, chanrec* channel, const std::string &partreason)
+ virtual void OnUserPart(userrec* user, chanrec* channel, const std::string &partreason, bool &silent)
{
// method called when a user parts a channel