diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-05-24 19:34:25 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-06-07 01:00:10 +0200 |
commit | 78900eaa5ea5c02488b7d38b477912c2815f7faf (patch) | |
tree | d6b89437d25a5e7035981d00d319dc4f0809c86a /src | |
parent | 183d7a8dc01924ac69a5d160bf1b56ccccd06a4e (diff) |
Remove deprecated Request cross-module communication mechanism
Diffstat (limited to 'src')
-rw-r--r-- | src/modules.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index f683f6b6c..75251ffdf 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -58,17 +58,6 @@ Version::Version(const std::string &desc, int flags, const std::string& linkdata { } -Request::Request(Module* src, Module* dst, const char* idstr) -: id(idstr), source(src), dest(dst) -{ -} - -void Request::Send() -{ - if (dest) - dest->OnRequest(*this); -} - Event::Event(Module* src, const std::string &eventid) : source(src), id(eventid) { } void Event::Send() @@ -132,7 +121,6 @@ ModResult Module::OnChangeLocalUserHost(LocalUser*, const std::string&) { return ModResult Module::OnChangeLocalUserGECOS(LocalUser*, const std::string&) { return MOD_RES_PASSTHRU; } ModResult Module::OnPreTopicChange(User*, Channel*, const std::string&) { return MOD_RES_PASSTHRU; } void Module::OnEvent(Event&) { } -void Module::OnRequest(Request&) { } ModResult Module::OnPassCompare(Extensible* ex, const std::string &password, const std::string &input, const std::string& hashtype) { return MOD_RES_PASSTHRU; } void Module::OnGlobalOper(User*) { } void Module::OnPostConnect(User*) { } |