diff options
author | Peter Powell <petpow@saberuk.com> | 2019-07-15 12:43:05 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-07-15 12:55:48 +0100 |
commit | 06e2961a86705d794fd5904000e44a7ae08004d9 (patch) | |
tree | 389d7deffa90b80f5cc468de1b70fda2145877c4 /src/modules/m_sasl.cpp | |
parent | 0b0443687d072bb1d4a4274828a72bbc9a171ede (diff) |
Split ServerEventListener into {Broadcast,Link,Sync}EventListener.
There is no reason to have these events in one big handler and it
causes unnecessary event hooks to be created by having them like
this.
The ServerEventListener class still exists for compatibility
Diffstat (limited to 'src/modules/m_sasl.cpp')
-rw-r--r-- | src/modules/m_sasl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp index 54bb8a44a..2647b63e1 100644 --- a/src/modules/m_sasl.cpp +++ b/src/modules/m_sasl.cpp @@ -37,7 +37,8 @@ enum static std::string sasl_target; -class ServerTracker : public ServerEventListener +class ServerTracker + : public ServerProtocol::LinkEventListener { bool online; @@ -65,7 +66,7 @@ class ServerTracker : public ServerEventListener public: ServerTracker(Module* mod) - : ServerEventListener(mod) + : ServerProtocol::LinkEventListener(mod) { Reset(); } |