ServerInstance->WriteOpers("*** %s used SWHOIS to set %s's extra whois from '%s' to '%s'", user->nick, dest->nick, text->c_str(), line.c_str());
dest->Shrink("swhois");
- DELETE(text);
+ delete text;
}
else if (!ServerInstance->ULine(user->server))
{
void OnRehash(User* user, const std::string ¶meter)
{
- DELETE(Conf);
+ delete Conf;
Conf = new ConfigReader(ServerInstance);
}
if (swhois)
{
user->Shrink("swhois");
- DELETE(swhois);
+ delete swhois;
}
}
if (swhois)
{
user->Shrink("swhois");
- DELETE(swhois);
+ delete swhois;
}
}
}
if (user->GetExt("swhois", old))
{
user->Shrink("swhois");
- DELETE(old);
+ delete old;
}
if (!swhois.length())
virtual ~ModuleSWhois()
{
- DELETE(Conf);
+ delete Conf;
}
virtual Version GetVersion()