From 06dd2222762d754ee4aa8ecd12ecdfcece84a006 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 5 Feb 2006 00:20:38 +0000 Subject: Wrong varname git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3086 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_override.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+")"); } -- cgit v1.2.3