diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-27 11:28:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-27 11:28:18 +0000 |
commit | bd818bec4981c69a33ab175d293aa5d1c6cdfb90 (patch) | |
tree | 8538362b714bd687c15eaab1bdec5d6ed4d1fd17 /src/modes | |
parent | 8541ef7d986618c751f7f50986b4d89c2dbef8d3 (diff) |
Change for reverse output of lists, most recent first, for bug #307. Also fix(Oms) annoying(Cuddled(Ifs()))
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7160 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modes')
-rw-r--r-- | src/modes/cmode_b.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/cmode_b.cpp b/src/modes/cmode_b.cpp index 9d47c62be..e306f31f6 100644 --- a/src/modes/cmode_b.cpp +++ b/src/modes/cmode_b.cpp @@ -77,7 +77,7 @@ void ModeChannelBan::RemoveMode(userrec* user) void ModeChannelBan::DisplayList(userrec* user, chanrec* channel) { /* Display the channel banlist */ - for (BanList::iterator i = channel->bans.begin(); i != channel->bans.end(); i++) + for (BanList::reverse_iterator i = channel->bans.rbegin(); i != channel->bans.rend(); ++i) { user->WriteServ("367 %s %s %s %s %d",user->nick, channel->name, i->data, i->set_by, i->set_time); } |