summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-09-18 10:27:06 +0200
committerattilamolnar <attilamolnar@hush.com>2013-11-21 22:07:30 +0100
commitb7d84270bce15507775c7ec216dc1d5ad8b02a53 (patch)
tree793ac2c5ca6b3aebacf2129978660393ec00d5b6 /src/modules
parentcc01e2144c2c9a0fd5c71c9a32300906aa14a246 (diff)
Fix a few issues
- Rehash notices - Modes in CAPAB - GetTargetAndAction() not being static in m_callerid - Loading custom configuration files using --config. (@SaberUK) - ServerConfig::Read not using std::endl. (@SaberUK) - Out of date comments in opers.conf.example, issue #624
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_callerid.cpp2
-rw-r--r--src/modules/m_spanningtree/capab.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp
index 33c874946..1a2fd3a84 100644
--- a/src/modules/m_callerid.cpp
+++ b/src/modules/m_callerid.cpp
@@ -158,7 +158,7 @@ class CommandAccept : public Command
*/
typedef std::pair<User*, bool> ACCEPTAction;
- ACCEPTAction GetTargetAndAction(std::string& tok)
+ static ACCEPTAction GetTargetAndAction(std::string& tok)
{
bool remove = (tok[0] == '-');
if ((remove) || (tok[0] == '+'))
diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp
index 7afcc50e5..52404aa1d 100644
--- a/src/modules/m_spanningtree/capab.cpp
+++ b/src/modules/m_spanningtree/capab.cpp
@@ -64,8 +64,8 @@ static std::string BuildModeList(ModeType type)
{
if (pm->GetPrefix())
mdesc.push_back(pm->GetPrefix());
- mdesc.push_back(mh->GetModeChar());
}
+ mdesc.push_back(mh->GetModeChar());
modes.push_back(mdesc);
}
}