diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_geo_maxmind.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_regex_pcre.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_codepage.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_delayjoin.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_ident.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_ircv3_ctctags.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/extra/m_geo_maxmind.cpp b/src/modules/extra/m_geo_maxmind.cpp index b03933344..0cf082775 100644 --- a/src/modules/extra/m_geo_maxmind.cpp +++ b/src/modules/extra/m_geo_maxmind.cpp @@ -179,7 +179,7 @@ class ModuleGeoMaxMind : public Module void OnGarbageCollect() CXX11_OVERRIDE { for (LocationMap::iterator iter = geoapi.locations.begin(); iter != geoapi.locations.end(); ) - { + { Geolocation::Location* location = iter->second; if (location->GetUseCount()) { diff --git a/src/modules/extra/m_regex_pcre.cpp b/src/modules/extra/m_regex_pcre.cpp index a3824d9cd..6a742dba5 100644 --- a/src/modules/extra/m_regex_pcre.cpp +++ b/src/modules/extra/m_regex_pcre.cpp @@ -28,7 +28,7 @@ /// $PackageInfo: require_system("arch") pcre /// $PackageInfo: require_system("centos") pcre-devel -/// $PackageInfo: require_system("darwin") pcre +/// $PackageInfo: require_system("darwin") pcre /// $PackageInfo: require_system("debian") libpcre3-dev /// $PackageInfo: require_system("ubuntu") libpcre3-dev diff --git a/src/modules/m_codepage.cpp b/src/modules/m_codepage.cpp index 5858acd97..1e0a248e0 100644 --- a/src/modules/m_codepage.cpp +++ b/src/modules/m_codepage.cpp @@ -133,7 +133,7 @@ class ModuleCodepage unsigned char begin = tag->getUInt("begin", tag->getUInt("index", 0), 1, UCHAR_MAX); if (!begin) throw ModuleException("<cpchars> tag without index or begin specified at " + tag->getTagLocation()); - + unsigned char end = tag->getUInt("end", begin, 1, UCHAR_MAX); if (begin > end) throw ModuleException("<cpchars:begin> must be lower than <cpchars:end> at " + tag->getTagLocation()); diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index a33a2a1d2..8eff602d8 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -78,7 +78,7 @@ class JoinHook : public ClientProtocol::EventHook } -class ModuleDelayJoin +class ModuleDelayJoin : public Module , public CTCTags::EventListener , public Names::EventListener diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 15e46b83a..c22c6a039 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -284,7 +284,7 @@ class ModuleIdent : public Module // Check that they haven't been prefixed already. if (user->ident[0] == '~') return; - + // All invalid usernames are prefixed with a tilde. std::string newident(user->ident); newident.insert(newident.begin(), '~'); diff --git a/src/modules/m_ircv3_ctctags.cpp b/src/modules/m_ircv3_ctctags.cpp index 1bb803bc2..6123d3b31 100644 --- a/src/modules/m_ircv3_ctctags.cpp +++ b/src/modules/m_ircv3_ctctags.cpp @@ -89,7 +89,7 @@ class CommandTagMsg : public Command { LocalUser* luser = IS_LOCAL(iter->first); - // Don't send to remote users or the user who is the source. + // Don't send to remote users or the user who is the source. if (!luser || luser == source) continue; diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 5e6e9b036..b688aed9f 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -215,7 +215,7 @@ void ModuleSpanningTree::ConnectServer(Link* x, Autoconnect* y) // If this fails then the IP sa will be AF_UNSPEC. irc::sockets::aptosa(x->IPAddr, x->Port, sa); } - + /* Do we already have an IP? If so, no need to resolve it. */ if (sa.family() != AF_UNSPEC) { |