summaryrefslogtreecommitdiff
path: root/src/modules/m_taxonomy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_taxonomy.cpp')
-rw-r--r--src/modules/m_taxonomy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_taxonomy.cpp b/src/modules/m_taxonomy.cpp
index ca88d1c4a..0790949a8 100644
--- a/src/modules/m_taxonomy.cpp
+++ b/src/modules/m_taxonomy.cpp
@@ -35,8 +35,7 @@ class CommandTaxonomy : public Command
if (dest)
{
std::deque<std::string> list;
- list.clear();
- user->GetExtList(list);
+ dest->GetExtList(list);
user->WriteServ("304 " + std::string(user->nick) + ":TAXONOMY ITEMS " + std::string(dest->nick) + " " +ConvToStr(list.size()));
for (unsigned int j = 0; j < list.size(); j++)
{