summaryrefslogtreecommitdiff
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r--src/modules/m_banexception.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 2c9bdee79..4d817f43b 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -30,14 +30,14 @@ class BanException : public ListModeBase
class ModuleBanException : public Module
{
BanException* be;
- Server* Srv;
+
public:
ModuleBanException(InspIRCd* Me)
: Module::Module(Me)
{
be = new BanException(ServerInstance);
- Srv->AddMode(be, 'e');
+ ServerInstance->AddMode(be, 'e');
}
virtual void Implements(char* List)
@@ -62,7 +62,7 @@ public:
if(list)
{
for (modelist::iterator it = list->begin(); it != list->end(); it++)
- if(Srv->MatchText(user->GetFullRealHost(), it->mask) || Srv->MatchText(user->GetFullHost(), it->mask))
+ if(ServerInstance->MatchText(user->GetFullRealHost(), it->mask) || ServerInstance->MatchText(user->GetFullHost(), it->mask))
// They match an entry on the list, so let them in.
return 1;
return 0;