mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
Fix some issues found using valgrind/pure_static
This commit is contained in:
parent
1ac4f3b4f6
commit
440ca935da
@ -451,7 +451,7 @@ ModResult InspIRCd::CheckExemption(User* user, Channel* chan, const std::string&
|
||||
return perm.result;
|
||||
|
||||
unsigned int mypfx = chan->GetPrefixValue(user);
|
||||
char minmode;
|
||||
char minmode = 0;
|
||||
std::string current;
|
||||
|
||||
irc::spacesepstream defaultstream(ServerInstance->Config->ConfValue("options")->getString("exemptchanops"));
|
||||
|
@ -162,6 +162,7 @@ void ModuleManager::Reload(Module* mod, HandlerBase1<void, bool>* callback)
|
||||
void ModuleManager::LoadAll()
|
||||
{
|
||||
Load("AllModule", true);
|
||||
Load("cmd_whowas.so", true);
|
||||
|
||||
ConfigTagList tags = ServerInstance->Config->ConfTags("module");
|
||||
for(ConfigIter i = tags.first; i != tags.second; ++i)
|
||||
|
@ -17,13 +17,14 @@
|
||||
|
||||
class ModuleAbbreviation : public Module
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
ModuleAbbreviation()
|
||||
{
|
||||
void init()
|
||||
{
|
||||
ServerInstance->Modules->Attach(I_OnPreCommand, this);
|
||||
/* Must do this first */
|
||||
}
|
||||
|
||||
void Prioritize()
|
||||
{
|
||||
ServerInstance->Modules->SetPriority(this, I_OnPreCommand, PRIORITY_FIRST);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user