diff options
| author | 2004-05-22 20:41:16 +0000 | |
|---|---|---|
| committer | 2004-05-22 20:41:16 +0000 | |
| commit | da8fe330c2b3445b370cb80ecae93c7fb34d441d (patch) | |
| tree | 4b6ef238c206d3440b36827b847fd3895dc300f8 /src/modules/m_nonotice.cpp | |
| parent | Added remainder of OnUserPreInvite stuff (diff) | |
Added support for changing of text within OnUserPreNotice and OnUserPreMessage (required for modes +G and +S etc)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@821 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nonotice.cpp')
| -rw-r--r-- | src/modules/m_nonotice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index a5fa2b61c..89a619590 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -32,7 +32,7 @@ class ModuleNoNotice : public Module Srv->AddExtendedMode('T',MT_CHANNEL,false,0,0); } - virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string text) + virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string &text) { if (target_type == TYPE_CHANNEL) { |
