diff options
-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 2ee79e296..13d42c0b9 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -149,7 +149,7 @@ class cmd_dccallow : public command_t std::string default_length = Conf->ReadValue("dccallow", "length", 0).c_str(); long length; - if (pcnt == 1) + if (pcnt < 2) { length = ServerInstance->Duration(default_length.c_str()); } |