From 95593de52c9b89dd3dae8d79a2c76efc81d9d353 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 13 Jun 2013 19:00:01 +0200 Subject: Call Channel::SetModeParam() from the mode parser when needed instead of requiring mode handlers to do it --- src/modules/m_delaymsg.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/modules/m_delaymsg.cpp') 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; } -- cgit v1.3.1-10-gc9f91