aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_sasl.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2019-07-15 12:43:05 +0100
committerGravatar Peter Powell2019-07-15 12:55:48 +0100
commit06e2961a86705d794fd5904000e44a7ae08004d9 (patch)
tree389d7deffa90b80f5cc468de1b70fda2145877c4 /src/modules/m_sasl.cpp
parentSkip UNIX sockets in GetLocation(). (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.cpp5
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();
}