From a35e98c32be1d8f4728029a42236a24f90789344 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Jan 2008 15:26:24 +0000 Subject: [PATCH] Fix for bug #464, taxonomy output spooled to target not to requestor, reported by John, thanks :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8678 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_taxonomy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/m_taxonomy.cpp b/src/modules/m_taxonomy.cpp index 0790949a8..038582d92 100644 --- a/src/modules/m_taxonomy.cpp +++ b/src/modules/m_taxonomy.cpp @@ -73,9 +73,9 @@ class ModuleTaxonomy : public Module { if (target_type == TYPE_USER) { - User* spool = (User*)opaque; - std::string taxstr = "304 " + std::string(spool->nick) + ":TAXONOMY METADATA "+extname+" = "+extdata; - spool->WriteServ(taxstr); + User* spoolto = (User*)target; + std::string taxstr = "304 " + std::string(spoolto->nick) + ":TAXONOMY METADATA "+extname+" = "+extdata; + spoolto->WriteServ(taxstr); claimed = true; } } -- 2.39.5