summaryrefslogtreecommitdiff
path: root/src/modules/m_customtitle.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-01 18:14:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-01 18:14:36 +0000
commitde35a20ab7521ccd310bbc922c75b144b9a13fc2 (patch)
treeb75945027887419d646d8342db7ecc4a17ce88a8 /src/modules/m_customtitle.cpp
parent29dc6c70d7854ef31b26ea8e962bec23f84c1475 (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_customtitle.cpp')
-rw-r--r--src/modules/m_customtitle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp
index 8e87b79b4..491487b3c 100644
--- a/src/modules/m_customtitle.cpp
+++ b/src/modules/m_customtitle.cpp
@@ -79,7 +79,7 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist)
user->Extend("ctitle", text);
std::deque<std::string>* metadata = new std::deque<std::string>;
- metadata->push_back(user->nick);
+ metadata->push_back(user->uuid);
metadata->push_back("ctitle"); // The metadata id
metadata->push_back(*text); // The value to send
Event event((char*)metadata,(Module*)this,"send_metadata");