aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
authorGravatar w00t2008-02-11 11:20:48 +0000
committerGravatar w00t2008-02-11 11:20:48 +0000
commite1b0dcd365a9754ad665131bfa26d18efeab0dd7 (patch)
tree1c717b9eb452a58f9500783b6a0ae974df4d4022 /src/modules/m_spanningtree/main.cpp
parentAdd -Woverloaded-virtual (fixes to follow) (diff)
-Woverloaded-virtual fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8899 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index b6c6fc1ec..62458e9a1 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -436,13 +436,14 @@ void ModuleSpanningTree::OnGetServerDescription(const std::string &servername,st
}
}
-void ModuleSpanningTree::OnUserInvite(User* source,User* dest,Channel* channel)
+void ModuleSpanningTree::OnUserInvite(User* source,User* dest,Channel* channel, time_t expiry)
{
if (IS_LOCAL(source))
{
std::deque<std::string> params;
params.push_back(dest->uuid);
params.push_back(channel->name);
+ params.push_back(ConvToStr(expiry));
Utils->DoOneToMany(source->uuid,"INVITE",params);
}
}
@@ -760,7 +761,7 @@ void ModuleSpanningTree::OnOper(User* user, const std::string &opertype)
}
}
-void ModuleSpanningTree::OnAddLine(XLine* x, User* user)
+void ModuleSpanningTree::OnAddLine(User* user, XLine *x)
{
if (x->type == "K")
return;
@@ -783,7 +784,7 @@ void ModuleSpanningTree::OnAddLine(XLine* x, User* user)
}
}
-void ModuleSpanningTree::OnDelLine(XLine* x, User* user)
+void ModuleSpanningTree::OnDelLine(User* user, XLine *x)
{
if (x->type == "K")
return;