diff options
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index e875302b8..817057b87 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -161,7 +161,7 @@ class cmd_dccallow : public command_t long length; if (pcnt < 2) { - length = ServerInstance->Duration(default_length.c_str()); + length = ServerInstance->Duration(default_length); } else if (!atoi(parameters[1])) { |