diff options
| author | 2008-08-22 18:01:15 +0000 | |
|---|---|---|
| committer | 2008-08-22 18:01:15 +0000 | |
| commit | cb6917c48eceeaa0f9980d8efbec8b23fc91d3bf (patch) | |
| tree | 3874048cf247ff5bde799e1cdecefbcab69670d8 /src/modules.cpp | |
| parent | Add even more edge case matching tests (they all pass yay) (diff) | |
Add OnSendSnotice(char &, std::string &, const std::string &) to modify/block/notify about snotices being sent to users.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10221 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index bc72f9f97..c3c07216e 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -103,8 +103,10 @@ std::string Event::GetEventID() // These declarations define the behavours of the base class Module (which does nothing at all) - Module::Module(InspIRCd* Me) : ServerInstance(Me) { } - Module::~Module() { } +Module::Module(InspIRCd* Me) : ServerInstance(Me) { } +Module::~Module() { } + +int Module::OnSendSnotice(char &snomask, std::string &type, const std::string &message) { return 0; } void Module::OnUserConnect(User*) { } void Module::OnUserQuit(User*, const std::string&, const std::string&) { } void Module::OnUserDisconnect(User*) { } |
