summaryrefslogtreecommitdiff
path: root/src/modules/m_chanhistory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chanhistory.cpp')
-rw-r--r--src/modules/m_chanhistory.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/m_chanhistory.cpp b/src/modules/m_chanhistory.cpp
index c114891bb..9c4f644d7 100644
--- a/src/modules/m_chanhistory.cpp
+++ b/src/modules/m_chanhistory.cpp
@@ -94,14 +94,12 @@ class HistoryMode : public ModeHandler
{
ext.set(channel, new HistoryList(len, time));
}
- channel->SetModeParam('H', parameter);
}
else
{
if (!channel->IsModeSet('H'))
return MODEACTION_DENY;
ext.unset(channel);
- channel->SetModeParam('H', "");
}
return MODEACTION_ALLOW;
}