]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanlog.cpp
m_spanningtree Remove unneeded #includes
[user/henk/code/inspircd.git] / src / modules / m_chanlog.cpp
index 6dbc0e7a860418d1154d36b00646d5bfa38040f4..4bfce210837a8d9c331cff3cda365892251df3d3 100644 (file)
@@ -24,7 +24,6 @@
 
 class ModuleChanLog : public Module
 {
- private:
        /*
         * Multimap so people can redirect a snomask to multiple channels.
         */
@@ -40,10 +39,6 @@ class ModuleChanLog : public Module
                OnRehash(NULL);
        }
 
-       virtual ~ModuleChanLog()
-       {
-       }
-
        virtual void OnRehash(User *user)
        {
                std::string snomasks;
@@ -59,14 +54,14 @@ class ModuleChanLog : public Module
 
                        if (channel.empty() || snomasks.empty())
                        {
-                               ServerInstance->Logs->Log("m_chanlog", DEFAULT, "Malformed chanlog tag, ignoring");
+                               ServerInstance->Logs->Log("m_chanlog", LOG_DEFAULT, "Malformed chanlog tag, ignoring");
                                continue;
                        }
 
                        for (std::string::const_iterator it = snomasks.begin(); it != snomasks.end(); it++)
                        {
                                logstreams.insert(std::make_pair(*it, channel));
-                               ServerInstance->Logs->Log("m_chanlog", DEFAULT, "Logging %c to %s", *it, channel.c_str());
+                               ServerInstance->Logs->Log("m_chanlog", LOG_DEFAULT, "Logging %c to %s", *it, channel.c_str());
                        }
                }
 
@@ -155,4 +150,3 @@ class ChannelLogStream : public LogStream
        }
 };
 #endif
-