diff options
| author | 2012-07-04 21:34:13 +0200 | |
|---|---|---|
| committer | 2013-04-12 21:03:04 +0200 | |
| commit | f4cd5fb72ad191a3708d3d39a4fc74cc1ae4377e (patch) | |
| tree | 46024e82c3dd201423e102bd7efe4f7a33524048 /src/modules/m_spanningtree/ftopic.cpp | |
| parent | m_spanningtree RSQUIT handler: Don't reimplement sending messages to remote u... (diff) | |
m_spanningtree atoi() to ConvToInt() conversion, add const where possible
Remove two redundant functions from Utils
Diffstat (limited to 'src/modules/m_spanningtree/ftopic.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/ftopic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/ftopic.cpp b/src/modules/m_spanningtree/ftopic.cpp index d559c6ae5..4e57715f3 100644 --- a/src/modules/m_spanningtree/ftopic.cpp +++ b/src/modules/m_spanningtree/ftopic.cpp @@ -28,7 +28,7 @@ /** FTOPIC command */ CmdResult CommandFTopic::Handle(const std::vector<std::string>& params, User *user) { - time_t ts = atoi(params[1].c_str()); + time_t ts = ConvToInt(params[1]); Channel* c = ServerInstance->FindChan(params[0]); if (c) { |
