mirror of
https://github.com/anope/anope.git
synced 2026-07-05 03:13:13 +02:00
Made service_reference type safe
This commit is contained in:
@@ -306,10 +306,6 @@ class HSRequest : public Module
|
||||
{
|
||||
this->SetAuthor("Anope");
|
||||
|
||||
ModuleManager::RegisterService(&commandhsrequest);
|
||||
ModuleManager::RegisterService(&commandhsactive);
|
||||
ModuleManager::RegisterService(&commandhsreject);
|
||||
ModuleManager::RegisterService(&commandhswaiting);
|
||||
|
||||
Implementation i[] = { I_OnDelNick, I_OnDatabaseRead, I_OnDatabaseWrite, I_OnReload };
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
|
||||
Reference in New Issue
Block a user