1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 03:16:37 +02:00

Fixed Windows build

This commit is contained in:
Adam
2010-12-24 01:23:22 -05:00
parent befb4b3644
commit 35e328bcb6
10 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -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)