/*
* InspIRCd -- Internet Relay Chat Daemon
*
- * Copyright (C) 2014 Attila Molnar <attilamolnar@hush.com>
+ * Copyright (C) 2014, 2016 Attila Molnar <attilamolnar@hush.com>
*
* This file is part of InspIRCd. InspIRCd is free software: you can
* redistribute it and/or modify it under the terms of the GNU General Public
{
const Modes::Change& item = *i;
ModeHandler* mh = item.mh;
- if (!mh->GetNumParams(item.adding))
+ if (!mh->NeedsParam(item.adding))
continue;
ret.push_back(' ');