Skip to content

Commit

Permalink
Fix bug #408, reported and patched by Switch
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8021 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
rburchell committed Sep 8, 2007
1 parent 62bfcfb commit 31bfccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/m_operlog.cpp
Expand Up @@ -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++)
Expand Down

0 comments on commit 31bfccc

Please sign in to comment.