]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Remove debug stuff
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 27 Oct 2007 11:45:05 +0000 (11:45 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 27 Oct 2007 11:45:05 +0000 (11:45 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8384 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_delayjoin.cpp

index 00f678d01b1e88c7cc3c438c3055810aaba5390b..8e839f54b3cce9fd45ad586a6de62ef64b1f6a11 100644 (file)
@@ -89,20 +89,17 @@ class ModuleDelayJoin : public Module
                {
                        std::string key("delayjoin_");
                        key.append(Ptr->name);
                {
                        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)
                        {
                        /* 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))
                                if (!n->first->GetExt(key))
-                               {
                                        nl.insert(*n);
                                        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;
                }
                        nl[user] = user->nick;
                        nameslist = &nl;
                }