diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-27 11:45:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-27 11:45:05 +0000 |
commit | 192ae99685903cfb71bbf70edc450c4a6314621e (patch) | |
tree | 226f94ffd6f90d1dc08a83df0657acdddce8bd8c | |
parent | 5a956ba84649aca12a3fc2b28d3b786d4904e408 (diff) |
Remove debug stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8384 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_delayjoin.cpp | 9 |
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; } |