]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chancreate.cpp
This works, not sure why. Someone find out why we cant use && !isock->HasResult(...
[user/henk/code/inspircd.git] / src / modules / m_chancreate.cpp
index 915e7c8cbad99106e6de3a8e5f61be392425a7b1..d2b0b4e45c1350a82c9ef3bbebf28dbcea0f243d 100644 (file)
@@ -12,9 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
 
 /* $ModDesc: Creates a snomask with notices whenever a new channel is created */
 
@@ -43,7 +40,7 @@ class ModuleChanCreate : public Module
                List[I_OnUserJoin] = 1;
        }
        
-       virtual void OnUserJoin(userrec* user, chanrec* channel, bool &silent)
+       virtual void OnUserJoin(User* user, Channel* channel, bool &silent)
        {
                if (channel->GetUserCounter() == 1)
                {