From d02a5866d4fdedec9219aeca0a6048828b394fd2 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 21:19:19 +0000 Subject: Mass-tidyup of module global vars, theyre no longer global vars. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_remove.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_remove.cpp') diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index e681d39b6..5fa614312 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -154,7 +154,7 @@ class RemoveBase tlevel = chartolevel(channel->GetStatusChar(target)); } - hasnokicks = (Srv->FindModule("m_nokicks.so") && channel->IsModeSet('Q')); + hasnokicks = (ServerInstance->FindModule("m_nokicks.so") && channel->IsModeSet('Q')); /* We support the +Q channel mode via. the m_nokicks module, if the module is loaded and the mode is set then disallow the /remove */ if(!supportnokicks || !hasnokicks || (ulevel == ULINE)) -- cgit v1.2.3