diff options
| author | 2021-03-17 16:07:33 +0000 | |
|---|---|---|
| committer | 2021-03-17 21:13:10 +0000 | |
| commit | a4e9ebfda34afcf6eb7602381c2f9313ab1b8b78 (patch) | |
| tree | 4f3884cc3415e3c7ef3ce4ebf30150a1dd166e20 /src/modules/m_swhois.cpp | |
| parent | Move extensible code from base.cpp to extensible.cpp and cleanup. (diff) | |
Implement support for automatically syncing extension items.
Diffstat (limited to 'src/modules/m_swhois.cpp')
| -rw-r--r-- | src/modules/m_swhois.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 2b14def9d..562c4a312 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -80,14 +80,6 @@ class CommandSwhois : public Command else swhois.Set(dest, parameters[1]); - /* Bug #376 - feature request - - * To cut down on the amount of commands services etc have to recognise, this only sends METADATA across the network now - * not an actual SWHOIS command. Any SWHOIS command sent from services will be automatically translated to METADATA by this. - * Sorry w00t i know this was your fix, but i got bored and wanted to clear down the tracker :) - * -- Brain - */ - ServerInstance->PI->SendMetaData(dest, "swhois", parameters[1]); - return CmdResult::SUCCESS; } @@ -138,7 +130,6 @@ class ModuleSWhois cmd.operblock.Set(user, 1); cmd.swhois.Set(user, swhois); - ServerInstance->PI->SendMetaData(user, "swhois", swhois); } void OnPostDeoper(User* user) override @@ -152,7 +143,6 @@ class ModuleSWhois cmd.operblock.Unset(user); cmd.swhois.Unset(user); - ServerInstance->PI->SendMetaData(user, "swhois", ""); } void OnDecodeMetaData(Extensible* target, const std::string& extname, const std::string&) override |
