]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_seenicks.cpp
Pedantic clean
[user/henk/code/inspircd.git] / src / modules / m_seenicks.cpp
index 5aa0f9069db7fc5466fdeaef1c173d7b1fa4267d..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,10 +41,10 @@ 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);
        }
 };
 
-MODULE_INIT(ModuleSeeNicks);
+MODULE_INIT(ModuleSeeNicks)