diff options
| author | Adam <Adam@anope.org> | 2011-08-25 16:21:21 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-09-10 01:58:38 -0400 |
| commit | f025d1b495cee3aadb6b7b45652d1cab3b7b7b6d (patch) | |
| tree | 02df5a3f12104996af87d1b6c5ec9db9d45b6bde /modules/commands/os_session.h | |
| parent | 8c4417cad180f3c5448c5b7509b1bf2235e3077e (diff) | |
Made service_reference type safe
Diffstat (limited to 'modules/commands/os_session.h')
| -rw-r--r-- | modules/commands/os_session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_session.h b/modules/commands/os_session.h index faab37934..e47fb3c51 100644 --- a/modules/commands/os_session.h +++ b/modules/commands/os_session.h @@ -1,13 +1,13 @@ #ifndef OS_SESSION_H #define OS_SESSION_H -class SessionService : public Service +class SessionService : public Service<SessionService> { public: typedef Anope::map<Session *> SessionMap; typedef std::vector<Exception *> ExceptionVector; - SessionService(Module *m) : Service(m, "session") { } + SessionService(Module *m) : Service<SessionService>(m, "session") { } virtual void AddException(Exception *e) = 0; |
