summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-31 12:00:55 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-31 12:00:55 +0200
commitae23aefa3cde3caffc70a0c8058ebdc42326c59a (patch)
tree15d85c4dd13c73dccf725b6b8228d3e50915058c /src
parentd54eec6dd8d44cba3c1e935f72089dbe675e0820 (diff)
m_spanningtree Fix timestamp in AWAY
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
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);