*/
#include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
/* $ModDesc: Sets (and unsets) modes on opers when they oper up */
List[I_OnPostOper] = List[I_OnRehash] = 1;
}
- virtual void OnRehash(userrec* user, const std::string ¶meter)
+ virtual void OnRehash(User* user, const std::string ¶meter)
{
DELETE(Conf);
Conf = new ConfigReader(ServerInstance);
return Version(1,1,0,1,VF_VENDOR,API_VERSION);
}
- virtual void OnPostOper(userrec* user, const std::string &opertype)
+ virtual void OnPostOper(User* user, const std::string &opertype)
{
// whenever a user opers, go through the oper types, find their <type:modes>,
// and if they have one apply their modes. The mode string can contain +modes