From ae23aefa3cde3caffc70a0c8058ebdc42326c59a Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sat, 31 Aug 2013 12:00:55 +0200 Subject: m_spanningtree Fix timestamp in AWAY --- src/modules/m_spanningtree/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index ce1792a02..4e189073f 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -916,7 +916,7 @@ ModResult ModuleSpanningTree::OnSetAway(User* user, const std::string &awaymsg) parameterlist params; if (!awaymsg.empty()) { - params.push_back(ConvToStr(user->awaytime)); + params.push_back(ConvToStr(ServerInstance->Time())); params.push_back(":" + awaymsg); } Utils->DoOneToMany(user->uuid, "AWAY", params); -- cgit v1.2.3