diff options
| author | 2014-01-26 13:05:09 +0100 | |
|---|---|---|
| committer | 2014-01-26 13:05:09 +0100 | |
| commit | 92cc388aebd55245b24aef5950afe845feffe9e2 (patch) | |
| tree | a0d38cacd6589b88a274ced74e7e054a8cf73c78 /src/modules/m_showwhois.cpp | |
| parent | Add Channel* parameter to OnSendWhoLine (diff) | |
ProtocolInterface::SendEncapsulatedData() changes
- Pass command name and destination as real parameters
- Allow callers to specify the command source
- Send a SID instead of a server name if the target is a single server
Diffstat (limited to 'src/modules/m_showwhois.cpp')
| -rw-r--r-- | src/modules/m_showwhois.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp index 332752f93..ba17942cb 100644 --- a/src/modules/m_showwhois.cpp +++ b/src/modules/m_showwhois.cpp @@ -110,11 +110,9 @@ class ModuleShowwhois : public Module else { std::vector<std::string> params; - params.push_back(dest->server->GetName()); - params.push_back("WHOISNOTICE"); params.push_back(dest->uuid); params.push_back(source->uuid); - ServerInstance->PI->SendEncapsulatedData(params); + ServerInstance->PI->SendEncapsulatedData(dest->server->GetName(), cmd.name, params); } } }; |
