aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_xline_db.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-09-23 00:37:33 +0100
committerGravatar Sadie Powell2019-09-23 00:37:33 +0100
commit8848169e8b42b5ed85837efd3b3f9e36ffbada1b (patch)
tree04babb46ea381f254589b12288f121d53338cb67 /src/modules/m_xline_db.cpp
parentInstall libc++abi-dev on Travis. (diff)
parentLower the acceptable drift for clocks on link. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_xline_db.cpp')
-rw-r--r--src/modules/m_xline_db.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp
index b72eebb07..8e20e8f42 100644
--- a/src/modules/m_xline_db.cpp
+++ b/src/modules/m_xline_db.cpp
@@ -211,8 +211,8 @@ class ModuleXLineDB
continue;
}
- XLine* xl = xlf->Generate(ServerInstance->Time(), atoi(command_p[5].c_str()), command_p[3], command_p[6], command_p[2]);
- xl->SetCreateTime(atoi(command_p[4].c_str()));
+ XLine* xl = xlf->Generate(ServerInstance->Time(), ConvToNum<unsigned long>(command_p[5]), command_p[3], command_p[6], command_p[2]);
+ xl->SetCreateTime(ConvToNum<time_t>(command_p[4]));
if (ServerInstance->XLines->AddLine(xl, NULL))
{