From: brain Date: Sat, 27 Oct 2007 11:45:05 +0000 (+0000) Subject: Remove debug stuff X-Git-Tag: v2.0.23~4314 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=inline;h=192ae99685903cfb71bbf70edc450c4a6314621e;p=user%2Fhenk%2Fcode%2Finspircd.git Remove debug stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8384 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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; }