summaryrefslogtreecommitdiff
path: root/src/net/tmwa/friendshandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/friendshandler.cpp')
-rw-r--r--src/net/tmwa/friendshandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/friendshandler.cpp b/src/net/tmwa/friendshandler.cpp
index 99f99c576..094952df4 100644
--- a/src/net/tmwa/friendshandler.cpp
+++ b/src/net/tmwa/friendshandler.cpp
@@ -30,6 +30,11 @@ FriendsHandler::FriendsHandler()
friendsHandler = this;
}
+FriendsHandler::~FriendsHandler()
+{
+ friendsHandler = nullptr;
+}
+
void FriendsHandler::invite(const std::string &name A_UNUSED) const
{
}