summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-08 00:27:09 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-08 00:27:09 +0000
commitcff411663de995e81e317632943b7e9d46958fcf (patch)
tree2ea49eaeae73b9660bc11e370798c0e218d8214e
parentb0e07f5e9c393876940b3a22e888d702496258d8 (diff)
Forward port r8021: fixes bug #408 reported and patched by Switch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8022 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_operlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp
index ab044bac1..b02689704 100644
--- a/src/modules/m_operlog.cpp
+++ b/src/modules/m_operlog.cpp
@@ -48,7 +48,7 @@ class ModuleOperLog : public Module
if ((IS_OPER(user)) && (IS_LOCAL(user)) && (user->HasPermission(command)))
{
command_t* thiscommand = ServerInstance->Parser->GetHandler(command);
- if ((thiscommand) && (thiscommand->flags_needed = 'o'))
+ if ((thiscommand) && (thiscommand->flags_needed == 'o'))
{
std::string plist;
for (int j = 0; j < pcnt; j++)