summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_conn_lusers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_conn_lusers.cpp b/src/modules/m_conn_lusers.cpp
index 7bf2013e1..7aeb48850 100644
--- a/src/modules/m_conn_lusers.cpp
+++ b/src/modules/m_conn_lusers.cpp
@@ -55,7 +55,7 @@ class ModuleConnLUSERS : public Module
// protocol module. Yes, at some point there will
// be a way to get the current protocol module's name
// from the core and probably a pointer to its class.
- Module* Proto = FindModule("m_spanningtree.so");
+ Module* Proto = Srv->FindModule("m_spanningtree.so");
if (Proto)
{
Proto->OnPreCommand("LUSERS", NULL, 0, user)