diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-29 15:37:04 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-29 15:37:04 +0000 |
commit | 090e691462bbe60c72c734f454f6d1e20c41a4e8 (patch) | |
tree | f5e60b4b9898da5b8ece7946738d85800f4489b0 /src/modules/m_silence.cpp | |
parent | 35ac0e70f91f17f6d150fa99819f4bc88071d9c6 (diff) |
Added reason to OnUserQuit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2007 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r-- | src/modules/m_silence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index c423506a0..e1c4f3fee 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -131,7 +131,7 @@ class ModuleSilence : public Module Srv->AddCommand("SILENCE",handle_silence,0,0,"m_silence.so"); } - virtual void OnUserQuit(userrec* user) + virtual void OnUserQuit(userrec* user, std::string reason) { // when the user quits tidy up any silence list they might have just to keep things tidy // and to prevent a HONKING BIG MEMORY LEAK! |