summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index c6aa83ee2..6ff7f7435 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -3330,7 +3330,7 @@ class ModuleSpanningTree : public Module
virtual void OnSetAway(userrec* user)
{
std::deque<std::string> params;
- params.push_back(":"+std::string(u->awaymsg));
+ params.push_back(":"+std::string(user->awaymsg));
DoOneToMany(user->nick,"AWAY",params);
}