aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-03-17 13:34:43 +0000
committerGravatar Sadie Powell2021-03-17 13:34:43 +0000
commit3b71f2068e69b624887cf0e741a466e6cc39349a (patch)
tree4d8095d9244de64b63685e8a5d98623c8cda4445 /src/modules/m_dccallow.cpp
parentAdd a forwarding overload of SimpleExtItem#Set. (diff)
Mark {From,To}{Human,Internal,Network} as noexcept.
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index 484f8aef1..b2f9d644b 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -115,7 +115,7 @@ class DCCAllowExt : public SimpleExtItem<dccallowlist>
{
}
- void FromInternal(Extensible* container, const std::string& value) override
+ void FromInternal(Extensible* container, const std::string& value) noexcept override
{
LocalUser* user = IS_LOCAL(static_cast<User*>(container));
if (!user)
@@ -158,7 +158,7 @@ class DCCAllowExt : public SimpleExtItem<dccallowlist>
Set(user, list);
}
- std::string ToInternal(const Extensible* container, void* item) const override
+ std::string ToInternal(const Extensible* container, void* item) const noexcept override
{
dccallowlist* list = static_cast<dccallowlist*>(item);
std::string buf;