diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-01 18:14:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-01 18:14:36 +0000 |
commit | de35a20ab7521ccd310bbc922c75b144b9a13fc2 (patch) | |
tree | b75945027887419d646d8342db7ecc4a17ce88a8 /src/modules/m_swhois.cpp | |
parent | 29dc6c70d7854ef31b26ea8e962bec23f84c1475 (diff) |
Some metadata commands were using nicknames to identify the nick to apply the metadata to. fix to use uuid. Also make sure that the ssl metadata is sent after the user is done connecting (prioritize that event after spanningtree's)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9245 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r-- | src/modules/m_swhois.cpp | 4 |
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"); |