diff options
author | Adam <Adam@anope.org> | 2013-01-03 13:20:10 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-01-03 13:20:10 -0500 |
commit | 23e303aaa2ffa3d66990e688b76380f403171f1e (patch) | |
tree | bf833f37ab80b20cd2c745175e83dd18faac1cd8 /modules/commands/os_dns.cpp | |
parent | 098157dca8a4aecc18294cbc31cbe5ee95b35a94 (diff) |
Move enforcer checks on nick and logout to nickserv.cpp
Diffstat (limited to 'modules/commands/os_dns.cpp')
-rw-r--r-- | modules/commands/os_dns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp index 606af2d52..c60dd2641 100644 --- a/modules/commands/os_dns.cpp +++ b/modules/commands/os_dns.cpp @@ -661,7 +661,7 @@ class ModuleDNS : public Module { this->SetAuthor("Anope"); - Implementation i[] = { I_OnReload, I_OnNewServer, I_OnServerQuit, I_OnUserConnect, I_OnUserLogoff, I_OnDnsRequest }; + Implementation i[] = { I_OnReload, I_OnNewServer, I_OnServerQuit, I_OnUserConnect, I_OnPreUserLogoff, I_OnDnsRequest }; ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); this->OnReload(); @@ -733,7 +733,7 @@ class ModuleDNS : public Module } } - void OnUserLogoff(User *u) anope_override + void OnPreUserLogoff(User *u) anope_override { if (u && u->server) { |