diff options
| author | 2013-04-03 15:54:28 +0200 | |
|---|---|---|
| committer | 2013-04-03 15:54:28 +0200 | |
| commit | 886f1ba488a5ab9d7fe4d7b4ac6b9c9dc2841738 (patch) | |
| tree | 02eabf80806341753a17e6d1e68cacbc41ee484c /src/modules/m_setidle.cpp | |
| parent | Merge pull request #460 from SaberUK/master+genssl-bugfix (diff) | |
Convert InspIRCd::Duration() to be static
Diffstat (limited to 'src/modules/m_setidle.cpp')
| -rw-r--r-- | src/modules/m_setidle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp index a74f4abf7..c54881677 100644 --- a/src/modules/m_setidle.cpp +++ b/src/modules/m_setidle.cpp @@ -36,7 +36,7 @@ class CommandSetidle : public SplitCommand CmdResult HandleLocal(const std::vector<std::string>& parameters, LocalUser* user) { - time_t idle = ServerInstance->Duration(parameters[0]); + int idle = InspIRCd::Duration(parameters[0]); if (idle < 1) { user->WriteNumeric(948, "%s :Invalid idle time.",user->nick.c_str()); |
