@@ -89,8+89,8 @@ class ModuleRedirect : public Module
public:
public:
- ModuleRedirect(InspIRCd* Me)
- : Module(Me), re(Me, this)
+ ModuleRedirect()
+ : re(this)
{
if (!ServerInstance->Modes->AddMode(&re))
{
if (!ServerInstance->Modes->AddMode(&re))
@@ -120,7+120,7 @@ class ModuleRedirect : public Module
}
user->WriteNumeric(470, "%s %s %s :You may not join this channel, so you are automatically being transferred to the redirect channel.", user->nick.c_str(), cname, channel.c_str());
}
user->WriteNumeric(470, "%s %s %s :You may not join this channel, so you are automatically being transferred to the redirect channel.", user->nick.c_str(), cname, channel.c_str());