summaryrefslogtreecommitdiff
path: root/src/modules/m_swhois.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r--src/modules/m_swhois.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 350ebd648..97f69c413 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -76,7 +76,7 @@ class CommandSwhois : public Command
* -- Brain
*/
std::deque<std::string>* metadata = new std::deque<std::string>;
- metadata->push_back(dest->nick);
+ metadata->push_back(dest->uuid);
metadata->push_back("swhois"); // The metadata id
metadata->push_back(*text); // The value to send
Event event((char*)metadata,(Module*)this,"send_metadata");
@@ -263,7 +263,7 @@ class ModuleSWhois : public Module
std::string *text = new std::string(swhois);
user->Extend("swhois", text);
std::deque<std::string>* metadata = new std::deque<std::string>;
- metadata->push_back(user->nick);
+ metadata->push_back(user->uuid);
metadata->push_back("swhois"); // The metadata id
metadata->push_back(*text); // The value to send
Event event((char*)metadata,(Module*)this,"send_metadata");