From 7e6dfdf2118d4db84b85d19278a83186046ea2bb Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 17 Jan 2006 21:39:35 +0000 Subject: 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 --- include/modules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index bbf99b5d0..cf7e8c52d 100644 --- a/include/modules.h +++ b/include/modules.h @@ -353,8 +353,9 @@ class Module : public classbase * and the details of the channel they have left is available in the variable chanrec *channel * @param user The user who is parting * @param channel The channel being parted + * @param partmessage The part message, or an empty string */ - virtual void OnUserPart(userrec* user, chanrec* channel); + virtual void OnUserPart(userrec* user, chanrec* channel, std::string partmessage); /** Called on rehash. * This method is called prior to a /REHASH or when a SIGHUP is received from the operating -- cgit v1.2.3