diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-12-28 16:59:03 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-12-28 16:59:03 +0100 |
commit | 299f262a4fd1c0a508a5b6748761128a2c3efde9 (patch) | |
tree | 6ec11d59ecdd976ecf6636af22ebb49367da5fcf /src/modules | |
parent | 03561f500eb8e82b2ddfa0489fb4ae03c2c9631b (diff) |
Fix some whitespace issues
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_alias.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_cap.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_repeat.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 1076b0a9a..3a4bf5348 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -62,7 +62,7 @@ class ModuleAlias : public Module /* We cant use a map, there may be multiple aliases with the same name. * We can, however, use a fancy invention: the multimap. Maps a key to one or more values. * -- w00t - */ + */ typedef insp::flat_multimap<std::string, Alias, irc::insensitive_swo> AliasMap; AliasMap Aliases; diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp index f74f27f16..09d5e604d 100644 --- a/src/modules/m_cap.cpp +++ b/src/modules/m_cap.cpp @@ -194,7 +194,7 @@ class Cap::ManagerImpl : public Cap::Manager, public ReloadModule::EventListener cap->set(user, false); } - ServerInstance->Modules.DelReferent(cap); + ServerInstance->Modules.DelReferent(cap); cap->Unregister(); caps.erase(cap->GetName()); } diff --git a/src/modules/m_repeat.cpp b/src/modules/m_repeat.cpp index 45b06865c..21bca0f3f 100644 --- a/src/modules/m_repeat.cpp +++ b/src/modules/m_repeat.cpp @@ -110,7 +110,7 @@ class RepeatMode : public ParamMode<RepeatMode, SimpleExtItem<ChannelSettings> > { mx[1][0] = i + 1; for (unsigned int j = 0; j < l2; j++) - mx[1][j + 1] = std::min(std::min(mx[1][j] + 1, mx[0][j + 1] + 1), mx[0][j] + ((s1[i] == s2[j]) ? 0 : 1)); + mx[1][j + 1] = std::min(std::min(mx[1][j] + 1, mx[0][j + 1] + 1), mx[0][j] + ((s1[i] == s2[j]) ? 0 : 1)); mx[0].swap(mx[1]); } |