diff options
Diffstat (limited to 'src/modules/m_watch.cpp')
| -rw-r--r-- | src/modules/m_watch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 2a1f8f2d6..c7774cabd 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -218,7 +218,7 @@ public: void ReadConfig(ConfigStatus& status) override { - auto tag = ServerInstance->Config->ConfValue("watch"); + const auto& tag = ServerInstance->Config->ConfValue("watch"); cmd.maxwatch = tag->getUInt("maxwatch", 30, 1); } |
