diff options
| author | 2010-12-01 16:36:48 -0500 | |
|---|---|---|
| committer | 2010-12-01 16:36:55 -0500 | |
| commit | 53d2078f6f49be89fbb9f76751d75d6dae85fc7a (patch) | |
| tree | 405316cd5849097d6c7555c3a5c3436b0fb337d4 /src/modules/m_spanningtree/fjoin.cpp | |
| parent | Explain why a null pointer is safe here (diff) | |
Don't use a typedef as a variable name
Diffstat (limited to 'src/modules/m_spanningtree/fjoin.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/fjoin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp index 3a64ff75f..d79cd37ce 100644 --- a/src/modules/m_spanningtree/fjoin.cpp +++ b/src/modules/m_spanningtree/fjoin.cpp @@ -110,18 +110,18 @@ CmdResult CommandFJoin::Handle(const std::vector<std::string>& params, User *src if (apply_other_sides_modes && !incremental) { unsigned int idx = 2; - std::vector<std::string> modelist; + std::vector<std::string> mode_list; // Mode parser needs to know what channel to act on. - modelist.push_back(params[0]); + mode_list.push_back(params[0]); /* Remember, params[params.size() - 1] is nicklist, and we don't want to apply *that* */ for (idx = 2; idx != (params.size() - 1); idx++) { - modelist.push_back(params[idx]); + mode_list.push_back(params[idx]); } - ServerInstance->SendMode(modelist, srcuser); + ServerInstance->SendMode(mode_list, srcuser); } /* Now, process every 'modes,nick' pair */ |
