From 0b4dd1b4b804e734ff11c5ea580413af1305bd77 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 Jan 2006 22:46:02 +0000 Subject: Wrong userrec var used git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2993 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 8 ++++---- 1 file 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* metadata = new std::deque; - 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; } -- cgit v1.2.3