aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_websocket.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-03 22:30:58 +0000
committerGravatar Sadie Powell2020-11-03 22:30:58 +0000
commit3075cc7bd0aa6db5752e76183c267d091584705f (patch)
tree0dc08804108dd3391e158ed79a2bbedfed0911dc /src/modules/m_websocket.cpp
parentStore the SQL row id in the synthesised sqloper config tags. (diff)
downloadinspircd++-3075cc7bd0aa6db5752e76183c267d091584705f.tar.gz
inspircd++-3075cc7bd0aa6db5752e76183c267d091584705f.tar.bz2
inspircd++-3075cc7bd0aa6db5752e76183c267d091584705f.zip
Move config typedefs to ServerConfig and use auto in more places.
Diffstat (limited to 'src/modules/m_websocket.cpp')
-rw-r--r--src/modules/m_websocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_websocket.cpp b/src/modules/m_websocket.cpp
index 556329be7..bfbd8e871 100644
--- a/src/modules/m_websocket.cpp
+++ b/src/modules/m_websocket.cpp
@@ -510,7 +510,7 @@ class ModuleWebSocket : public Module
void ReadConfig(ConfigStatus& status) override
{
- ConfigTagList tags = ServerInstance->Config->ConfTags("wsorigin");
+ auto tags = ServerInstance->Config->ConfTags("wsorigin");
if (tags.empty())
throw ModuleException("You have loaded the websocket module but not configured any allowed origins!");