diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 15:04:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 15:04:46 +0000 |
commit | 0efd83fa4b6a03d28d1e4853ae262edb48b096b0 (patch) | |
tree | b2354dc2154456c55cf3959e867d2a1bfc8e5692 /src/modules/m_foobar.cpp | |
parent | 366fea7aec3858bcaadfe1a66e7ae8afcde76ebc (diff) |
And more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3657 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_foobar.cpp')
-rw-r--r-- | src/modules/m_foobar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |