diff options
Diffstat (limited to 'src/modules/m_tline.cpp')
-rw-r--r-- | src/modules/m_tline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp index ccb560428..bde4737a7 100644 --- a/src/modules/m_tline.cpp +++ b/src/modules/m_tline.cpp @@ -57,7 +57,7 @@ class cmd_tline : public command_t else { char host[MAXBUF]; - sprintf(host, "%s@%s", u->second->ident, u->second->GetIPString()); + snprintf(host, MAXBUF, "%s@%s", u->second->ident, u->second->GetIPString()); if (match(host, parameters[0], true)) { n_matched++; |