From 0efd83fa4b6a03d28d1e4853ae262edb48b096b0 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Mar 2006 15:04:46 +0000 Subject: And more git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3657 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_foobar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_foobar.cpp') diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp index 531176299..9cd8cb45e 100644 --- a/src/modules/m_foobar.cpp +++ b/src/modules/m_foobar.cpp @@ -69,7 +69,7 @@ class ModuleFoobar : public Module Srv->Log(DEBUG,"Foobar: User connecting: " + b); } - virtual void OnUserQuit(userrec* user, std::string reason) + virtual void OnUserQuit(userrec* user, const std::string &reason) { // method called when a user disconnects @@ -86,7 +86,7 @@ class ModuleFoobar : public Module Srv->Log(DEBUG,"Foobar: User " + b + " joined " + c); } - virtual void OnUserPart(userrec* user, chanrec* channel, std::string partreason) + virtual void OnUserPart(userrec* user, chanrec* channel, const std::string &partreason) { // method called when a user parts a channel -- cgit v1.2.3