mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
Fix extracting the mode parameters from MODE on UnrealIRCd.
This commit is contained in:
@@ -1128,7 +1128,7 @@ struct IRCDMessageMode final
|
||||
void Run(MessageSource &source, const std::vector<Anope::string> ¶ms, const Anope::map<Anope::string> &tags) override
|
||||
{
|
||||
auto final_is_ts = server_ts && source.GetServer() != NULL;
|
||||
auto last_param = params.end() - (final_is_ts ? 1 : 0);
|
||||
auto last_param = params.end() - (params.size() > 3 && final_is_ts ? 1 : 0);
|
||||
|
||||
if (IRCD->IsChannelValid(params[0]))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user