diff options
| author | 2013-06-05 23:11:50 +0200 | |
|---|---|---|
| committer | 2013-06-05 23:11:50 +0200 | |
| commit | d87bfc277858543ff14cd43f4222c66362464094 (patch) | |
| tree | ecc4252e97d07bdf935b9af751087d5b6abc435c /src/modules/m_dccallow.cpp | |
| parent | Report the full GnuTLS version in configure (diff) | |
| download | inspircd++-d87bfc277858543ff14cd43f4222c66362464094.tar.gz inspircd++-d87bfc277858543ff14cd43f4222c66362464094.tar.bz2 inspircd++-d87bfc277858543ff14cd43f4222c66362464094.zip | |
Remove unnecessary string copies and dead code
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 712dd91b8..de7b6b7bf 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -166,7 +166,7 @@ class CommandDccallow : public Command length = ServerInstance->Duration(parameters[1]); } - if (!ServerInstance->IsValidMask(mask.c_str())) + if (!ServerInstance->IsValidMask(mask)) { return CMD_FAILURE; } |
