diff options
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
| -rw-r--r-- | src/modules/m_cgiirc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index ad4eb8d4d..494743cd5 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -355,7 +355,7 @@ class ModuleCgiIRC { // The IP address should be looked up from the hex IP address. const std::string newident = tag->getString("newident", "gateway", ServerInstance->IsIdent); - identhosts.push_back(IdentHost(masks, newident)); + identhosts.emplace_back(masks, newident); } else if (stdalgo::string::equalsci(type, "webirc")) { @@ -374,7 +374,7 @@ class ModuleCgiIRC tag->source.str().c_str()); } - webirchosts.push_back(WebIRCHost(masks, fingerprint, password, passwordhash)); + webirchosts.emplace_back(masks, fingerprint, password, passwordhash); } else { |
