summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-05 00:20:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-05 00:20:38 +0000
commit06dd2222762d754ee4aa8ecd12ecdfcece84a006 (patch)
tree15e50061786e1380c674b4b1c8cf592d7fdae223 /src
parentdfa6568af2bceb842d6f9ba73ee6a6679e2c5d0c (diff)
Wrong varname
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3086 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_override.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index a16f8428e..b6cafbc77 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -86,7 +86,7 @@ class ModuleOverride : public Module
{
if ((*source->oper) && (CanOverride(source,"KICK")))
{
- if (((Srv->ChanMode(source,channel) == "%") && (Srv->ChanMode(user,channel) == "@")) || (Srv->ChanMode(source,channel) == ""))
+ if (((Srv->ChanMode(source,chan) == "%") && (Srv->ChanMode(user,chan) == "@")) || (Srv->ChanMode(source,chan) == ""))
{
Srv->SendOpers("*** NOTICE: "+std::string(source->nick)+" Override-Kicked "+std::string(user->nick)+" on "+std::string(chan->name)+" ("+reason+")");
}