summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_taxonomy.cpp6
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;
}
}