Skip to content

Commit

Permalink
Fix oper override triggering upon viewing list modes
Browse files Browse the repository at this point in the history
  • Loading branch information
B00mX0r committed Nov 27, 2017
1 parent fa95bb4 commit eb1b5b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/m_override.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,13 @@ class ModuleOverride : public Module
{
const Modes::Change& item = *i;
if (!item.param.empty())
{
params.append(1, ' ').append(item.param);
}
else if (item.mh->IsListMode())
{
return MOD_RES_PASSTHRU;
}

char wanted_pm = (item.adding ? '+' : '-');
if (wanted_pm != pm)
Expand Down

0 comments on commit eb1b5b7

Please sign in to comment.