summaryrefslogtreecommitdiff
path: root/src/modules/m_override.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r--src/modules/m_override.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index c21b7f413..153f208be 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -29,7 +29,7 @@ typedef std::map<std::string,std::string> override_t;
class ModuleOverride : public Module
{
- Server *Srv;
+
override_t overrides;
bool NoisyOverride;
public:
@@ -108,7 +108,7 @@ class ModuleOverride : public Module
{
if (*source->oper)
{
- if ((Srv) && (source) && (channel))
+ if (source && channel)
{
// Fix by brain - allow the change if they arent on channel - rely on boolean short-circuit
// to not check the other items in the statement if they arent on the channel