]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_seenicks.cpp
This works, not sure why. Someone find out why we cant use && !isock->HasResult(...
[user/henk/code/inspircd.git] / src / modules / m_seenicks.cpp
index 215cd34b062b3e4929fb18ba39d0aa1d06d10d92..82deda0cd6514cbf153ffc00ccc0ef56d5ac107b 100644 (file)
  */
 
 #include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
-#include "hashcomp.h"
-#include "configreader.h"
 
 /* $ModDesc: Provides support for seeing local and remote nickchanges via snomasks */
 
@@ -46,7 +41,7 @@ class ModuleSeeNicks : public Module
                List[I_OnUserPostNick] = 1;
        }
 
-       virtual void OnUserPostNick(userrec* user, const std::string &oldnick)
+       virtual void OnUserPostNick(User* user, const std::string &oldnick)
        {
                ServerInstance->SNO->WriteToSnoMask(IS_LOCAL(user) ? 'n' : 'N',"User %s changed their nickname to %s", oldnick.c_str(), user->nick);
        }