mirror of
https://github.com/anope/anope.git
synced 2026-07-09 22:03:12 +02:00
Made service_reference type safe
This commit is contained in:
@@ -728,10 +728,7 @@ class OSSession : public Module
|
||||
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
|
||||
ModuleManager::SetPriority(this, PRIORITY_FIRST);
|
||||
|
||||
ModuleManager::RegisterService(&commandossession);
|
||||
ModuleManager::RegisterService(&commandosexception);
|
||||
|
||||
ModuleManager::RegisterService(&this->ss);
|
||||
}
|
||||
|
||||
void OnUserConnect(dynamic_reference<User> &user, bool &exempt)
|
||||
|
||||
Reference in New Issue
Block a user