diff options
| author | 2007-09-08 00:25:36 +0000 | |
|---|---|---|
| committer | 2007-09-08 00:25:36 +0000 | |
| commit | 31bfcccd375bd70e212175dfb310ebc239487a62 (patch) | |
| tree | f668d857b7d23d9e5f6ae5776c9ee61cb3d2acf5 /src/modules/m_operlog.cpp | |
| parent | Fixed IPv6 resolving on big-endian machines (bug #403). Patch by Stric. (diff) | |
Fix bug #408, reported and patched by Switch
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8021 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_operlog.cpp')
| -rw-r--r-- | src/modules/m_operlog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index 9bbdbef25..483544722 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -51,7 +51,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++) |
