mirror of
https://github.com/anope/anope.git
synced 2026-07-05 13:23:12 +02:00
Changed a few fatal exceptions to shutdown a bit more gracefully
This commit is contained in:
@@ -1138,6 +1138,14 @@ class ProtoUnreal : public Module
|
||||
ModuleManager::Attach(I_OnUserNickChange, this);
|
||||
}
|
||||
|
||||
~ProtoUnreal()
|
||||
{
|
||||
pmodule_ircd_var(NULL);
|
||||
pmodule_ircd_proto(NULL);
|
||||
pmodule_ircd_message(NULL);
|
||||
}
|
||||
|
||||
|
||||
void OnUserNickChange(User *u, const Anope::string &)
|
||||
{
|
||||
u->RemoveModeInternal(ModeManager::FindUserModeByName(UMODE_REGISTERED));
|
||||
|
||||
Reference in New Issue
Block a user