diff options
| author | 2007-06-05 17:39:36 +0000 | |
|---|---|---|
| committer | 2007-06-05 17:39:36 +0000 | |
| commit | c2993f666f8146e75b4039b2b7bffe3455a3ac61 (patch) | |
| tree | 9672e7a956f241696a337acf9973309c4c2b1e16 /src/modules/m_dccallow.cpp | |
| parent | InspIRCd: Now with even MORE leet. (diff) | |
Sexeger!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7
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])) { |
