diff options
| author | 2013-05-16 20:33:46 +0200 | |
|---|---|---|
| committer | 2013-05-16 20:33:46 +0200 | |
| commit | 0a8b0d317ed4adc43185c1b791bcf752115dc58e (patch) | |
| tree | c2be0ec5f20ec5bdb0c8c435fe5bd57d53caeaef /src/modules/m_alias.cpp | |
| parent | Fix thread handle leak in threadengine_win32 (diff) | |
| download | inspircd++-0a8b0d317ed4adc43185c1b791bcf752115dc58e.tar.gz inspircd++-0a8b0d317ed4adc43185c1b791bcf752115dc58e.tar.bz2 inspircd++-0a8b0d317ed4adc43185c1b791bcf752115dc58e.zip | |
Remove unused variables, avoid copies where possible, check empty() instead of size() == 0
Most of these were detected by cppcheck
Diffstat (limited to 'src/modules/m_alias.cpp')
| -rw-r--r-- | src/modules/m_alias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 97b1612af..25f071bab 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -251,7 +251,7 @@ class ModuleAlias : public Module } - int DoAlias(User *user, Channel *c, Alias *a, const std::string compare, const std::string safe) + int DoAlias(User *user, Channel *c, Alias *a, const std::string& compare, const std::string& safe) { User *u = NULL; |
