diff options
| author | Adam <Adam@anope.org> | 2010-12-24 01:23:22 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-12-24 01:23:22 -0500 |
| commit | 35e328bcb60a431d9e8ee86c40df571d3653c451 (patch) | |
| tree | cf075013366372b1462a254f0923f66bc30dbbca /modules/extra/m_alias.cpp | |
| parent | befb4b364418a6e29d5ecb6bcefba565ab324978 (diff) | |
Fixed Windows build
Diffstat (limited to 'modules/extra/m_alias.cpp')
| -rw-r--r-- | modules/extra/m_alias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_alias.cpp b/modules/extra/m_alias.cpp index f1b6c3959..8e73bacd9 100644 --- a/modules/extra/m_alias.cpp +++ b/modules/extra/m_alias.cpp @@ -62,7 +62,7 @@ class ModuleAlias : public Module EventReturn OnPreCommandRun(User *&u, BotInfo *&bi, Anope::string &command, Anope::string &message, ChannelInfo *&ci) { bool fantasy = ci != NULL; - std::map<Anope::string, CommandAlias, std::less<ci::string> >::const_iterator it = aliases.find(command), it_end = it; + std::multimap<Anope::string, CommandAlias, std::less<ci::string> >::const_iterator it = aliases.find(command), it_end = it; if (it_end != aliases.end()) it_end = aliases.upper_bound(command); for (; it != it_end; ++it) |
