aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_delaymsg.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-06-13 19:00:01 +0200
committerGravatar attilamolnar2013-06-13 19:00:01 +0200
commit95593de52c9b89dd3dae8d79a2c76efc81d9d353 (patch)
treec99c8b3172b299a7d520faf7b5e69d0e3196aa05 /src/modules/m_delaymsg.cpp
parentRemove TR_END, remove TRANSLATEx() from commands that do not need it (diff)
Call Channel::SetModeParam() from the mode parser when needed instead of requiring mode handlers to do it
Diffstat (limited to 'src/modules/m_delaymsg.cpp')
-rw-r--r--src/modules/m_delaymsg.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp
index 8391dc45e..aeb4e4932 100644
--- a/src/modules/m_delaymsg.cpp
+++ b/src/modules/m_delaymsg.cpp
@@ -87,7 +87,6 @@ ModeAction DelayMsgMode::OnModeChange(User* source, User* dest, Channel* channel
for (UserMembCIter n = names->begin(); n != names->end(); ++n)
jointime.set(n->second, 0);
}
- channel->SetModeParam('d', adding ? parameter : "");
return MODEACTION_ALLOW;
}