summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/ijoin.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-19 20:22:15 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-27 15:33:05 +0200
commit7e7e773d4d43e68c18c19e2ec712f4250e5f756d (patch)
treea446c63b439f3854ad2da6d8bd8d4dce9715b38a /src/modules/m_spanningtree/ijoin.cpp
parent27ecc025acf7b01f51b2ecc32c28180dc49d793c (diff)
m_spanningtree Introduce command builders
Diffstat (limited to 'src/modules/m_spanningtree/ijoin.cpp')
-rw-r--r--src/modules/m_spanningtree/ijoin.cpp4
1 files changed, 1 insertions, 3 deletions
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<std::string>&
// 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;
}