aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_taxonomy.cpp
diff options
context:
space:
mode:
authorGravatar brain2008-01-09 15:27:50 +0000
committerGravatar brain2008-01-09 15:27:50 +0000
commitccd875244b3dcdccadc52585b48e8f2f77ff5c6c (patch)
tree362e883583445f77d30491174f0f99107a9592cc /src/modules/m_taxonomy.cpp
parentRebind server sockets on REHASH, closes bug #478 (diff)
Backport fix for bug #464 reported by John
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8679 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_taxonomy.cpp')
-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 240719fe3..95b984c3a 100644
--- a/src/modules/m_taxonomy.cpp
+++ b/src/modules/m_taxonomy.cpp
@@ -78,9 +78,9 @@ class ModuleTaxonomy : public Module
{
if (target_type == TYPE_USER)
{
- userrec* spool = (userrec*)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;
}
}