summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_delayjoin.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp
index 00f678d01..8e839f54b 100644
--- a/src/modules/m_delayjoin.cpp
+++ b/src/modules/m_delayjoin.cpp
@@ -89,20 +89,17 @@ class ModuleDelayJoin : public Module
{
std::string key("delayjoin_");
key.append(Ptr->name);
- ServerInstance->Log(DEBUG,"Key: %s", key.c_str());
+
/* Modify the names list, erasing users with the delay join metadata
* for this channel (havent spoken yet)
*/
for (CUListIter n = newlist->begin(); n != newlist->end(); ++n)
{
- ServerInstance->Log(DEBUG,"Item: %s", n->first->nick);
if (!n->first->GetExt(key))
- {
nl.insert(*n);
- ServerInstance->Log(DEBUG,"Spoken: %s", n->first->nick);
- }
}
- ServerInstance->Log(DEBUG,"Insert self");
+
+ /* Always show self */
nl[user] = user->nick;
nameslist = &nl;
}