summaryrefslogtreecommitdiff
path: root/src/modules/m_foobar.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-03 22:05:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-03 22:05:56 +0000
commit2d659114b7c8d91c70d327259d0be63de006ec8c (patch)
treecfd7ace25e4857c4d2f8094ac4d03b7a5980db5b /src/modules/m_foobar.cpp
parent76684690a32726ab9efcf0b430cbed92d6380d98 (diff)
Fix broken modules (broken due to api change)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6860 e03df62e-2008-0410-955e-edbf42e46eb7
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