]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanlog.cpp
Remove InspIRCd* parameters and fields
[user/henk/code/inspircd.git] / src / modules / m_chanlog.cpp
index 0e40ba80ccf3b7177fccb092a735ea5e1bf62fe0..826c6f32f2e2e2cb0fb250ccc2082fc7ecd55f86 100644 (file)
@@ -24,8 +24,7 @@ class ModuleChanLog : public Module
        std::multimap<char, std::string> logstreams;
 
  public:
-       ModuleChanLog(InspIRCd* Me) : Module(Me)
-       {
+       ModuleChanLog()         {
                Implementation eventlist[] = { I_OnRehash, I_OnSendSnotice };
                ServerInstance->Modules->Attach(eventlist, this, 2);
 
@@ -38,7 +37,7 @@ class ModuleChanLog : public Module
 
        virtual void OnRehash(User *user)
        {
-               ConfigReader MyConf(ServerInstance);
+               ConfigReader MyConf;
                std::string snomasks;
                std::string channel;
 
@@ -128,7 +127,7 @@ class ChannelLogStream : public LogStream
        std::string channel;
 
  public:
-       ChannelLogStream(InspIRCd *Instance, int loglevel, const std::string &chan) : LogStream(Instance, loglevel), channel(chan)
+       ChannelLogStream(int loglevel, const std::string &chan) : LogStream(loglevel), channel(chan)
        {
        }