summaryrefslogtreecommitdiff
path: root/src/modules/m_foobar.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-17 21:39:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-17 21:39:35 +0000
commit7e6dfdf2118d4db84b85d19278a83186046ea2bb (patch)
treead44710504ce8ac626f50f90d0e37942a9013ee8 /src/modules/m_foobar.cpp
parent7254428c00c7f9298eeaddecec4e17d3fd1ecef4 (diff)
Added support for part messages in the module API (and therefore between servers too)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2815 e03df62e-2008-0410-955e-edbf42e46eb7
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 65b88f494..531176299 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -86,7 +86,7 @@ class ModuleFoobar : public Module
Srv->Log(DEBUG,"Foobar: User " + b + " joined " + c);
}
- virtual void OnUserPart(userrec* user, chanrec* channel)
+ virtual void OnUserPart(userrec* user, chanrec* channel, std::string partreason)
{
// method called when a user parts a channel