summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_monitor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_monitor.cpp b/src/modules/m_monitor.cpp
index b2e06f191..c69732a73 100644
--- a/src/modules/m_monitor.cpp
+++ b/src/modules/m_monitor.cpp
@@ -245,7 +245,8 @@ class IRCv3::Monitor::Manager
WatchedList emptywatchedlist;
};
-void IRCv3::Monitor::Manager::ExtItem::unserialize(SerializeFormat format, Extensible* container, const std::string& value)
+// inline is needed in static builds to support m_watch including the Manager code from this file
+inline void IRCv3::Monitor::Manager::ExtItem::unserialize(SerializeFormat format, Extensible* container, const std::string& value)
{
if (format == FORMAT_NETWORK)
return;