diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-09 15:26:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-09 15:26:24 +0000 |
commit | a35e98c32be1d8f4728029a42236a24f90789344 (patch) | |
tree | 80d54e3eec76f21f3a8e1b64b91c01b566b5d758 /src/modules | |
parent | fd71f2ac1962a879d0404bc7ddf079ee1d0d3e09 (diff) |
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
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_taxonomy.cpp | 6 |
1 files 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; } } |