summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/base.h2
-rw-r--r--src/modules/m_spanningtree/main.cpp2
-rw-r--r--win/inspircd_win32wrapper.cpp7
3 files changed, 2 insertions, 9 deletions
diff --git a/include/base.h b/include/base.h
index 5308ed655..0a4456f3a 100644
--- a/include/base.h
+++ b/include/base.h
@@ -122,7 +122,7 @@ class CoreExport usecountbase
};
template <typename T>
-class CoreExport reference
+class reference
{
T* value;
public:
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);
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp
index 4592aa5d1..048baf38b 100644
--- a/win/inspircd_win32wrapper.cpp
+++ b/win/inspircd_win32wrapper.cpp
@@ -221,10 +221,3 @@ DWORD CWin32Exception::GetErrorCode()
{
return dwErrorCode;
}
-
-#include "../src/modules/m_spanningtree/link.h"
-#include "../src/modules/ssl.h"
-template class reference<Link>;
-template class reference<Autoconnect>;
-template class reference<ssl_cert>;
-template class reference<OperInfo>;