diff options
| author | 2019-08-13 20:11:11 +0100 | |
|---|---|---|
| committer | 2019-08-13 20:11:11 +0100 | |
| commit | 2d35c3396a1f00375d45b874dafb9e0bdb520a9b (patch) | |
| tree | ba19a394ea07799ea94ec31da6c85646fe3bd6eb /src/modules/m_xline_db.cpp | |
| parent | Free StringExtItem and SimpleExtItem values correctly. (diff) | |
Fix some remaining uses of ato[il].
Diffstat (limited to 'src/modules/m_xline_db.cpp')
| -rw-r--r-- | src/modules/m_xline_db.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp index 00605f259..97531aae8 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)) { |
