summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-30 22:46:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-30 22:46:02 +0000
commit0b4dd1b4b804e734ff11c5ea580413af1305bd77 (patch)
treedfb988687b209f01adeea8cc3f38f1568721ef72 /src/modules
parent3ca13b44909226ede4332c672ea30e5b815941fe (diff)
Wrong userrec var used
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2993 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index c58db87bb..ea7aa7f7e 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -544,11 +544,11 @@ class ModuleSSLGnuTLS : public Module
{
// Tell whatever protocol module we're using that we need to inform other servers of this metadata NOW.
std::deque<std::string>* metadata = new std::deque<std::string>;
- metadata->push_back(extendme->nick);
- metadata->push_back("ssl");
- metadata->push_back("ON");
+ metadata->push_back(user->nick);
+ metadata->push_back("ssl"); // The metadata id
+ metadata->push_back("ON"); // The value to send
Event* event = new Event((char*)metadata,(Module*)this,"send_metadata");
- event->Send();
+ event->Send(); // Trigger the event. We don't care what module picks it up.
delete event;
delete metadata;
}