From 7e7e773d4d43e68c18c19e2ec712f4250e5f756d Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 19 Aug 2013 20:22:15 +0200 Subject: m_spanningtree Introduce command builders --- src/modules/m_spanningtree/ijoin.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modules/m_spanningtree/ijoin.cpp') diff --git a/src/modules/m_spanningtree/ijoin.cpp b/src/modules/m_spanningtree/ijoin.cpp index c549149b3..a579848c8 100644 --- a/src/modules/m_spanningtree/ijoin.cpp +++ b/src/modules/m_spanningtree/ijoin.cpp @@ -32,9 +32,7 @@ CmdResult CommandIJoin::HandleRemote(RemoteUser* user, std::vector& // Ignore the join and send RESYNC, this will result in the remote server sending all channel data to us ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "Received IJOIN for non-existant channel: " + params[0]); - parameterlist p; - p.push_back(params[0]); - Utils->DoOneToOne(ServerInstance->Config->GetSID(), "RESYNC", p, user->server); + CmdBuilder("RESYNC").push(params[0]).Unicast(user); return CMD_FAILURE; } -- cgit v1.3.1-10-gc9f91