mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
Actually let it be unloaded would be a start (remove VF_STATIC)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5110 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
4c48adf203
commit
d1af89a55c
@ -433,13 +433,15 @@ class ModuleChanProtect : public Module
|
||||
|
||||
virtual ~ModuleChanProtect()
|
||||
{
|
||||
ServerInstance->Modes->DelMode(cp);
|
||||
ServerInstance->Modes->DelMode(cf);
|
||||
DELETE(cp);
|
||||
DELETE(cf);
|
||||
}
|
||||
|
||||
virtual Version GetVersion()
|
||||
{
|
||||
return Version(1,0,0,0,VF_STATIC|VF_VENDOR);
|
||||
return Version(1, 0, 0, 0, VF_COMMON | VF_VENDOR);
|
||||
}
|
||||
|
||||
virtual void OnSyncChannel(chanrec* chan, Module* proto, void* opaque)
|
||||
|
Loading…
x
Reference in New Issue
Block a user