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_repeat.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/modules/m_repeat.cpp') diff --git a/src/modules/m_repeat.cpp b/src/modules/m_repeat.cpp index 86f26016d..342ee9783 100644 --- a/src/modules/m_repeat.cpp +++ b/src/modules/m_repeat.cpp @@ -131,7 +131,6 @@ class RepeatMode : public ModeHandler MemberInfoExt.unset(i->second); ChanSet.unset(channel); - channel->SetModeParam(this, ""); return MODEACTION_ALLOW; } @@ -156,7 +155,6 @@ class RepeatMode : public ModeHandler return MODEACTION_DENY; ChanSet.set(channel, settings); - channel->SetModeParam(this, parameter); return MODEACTION_ALLOW; } -- cgit v1.3.1-10-gc9f91