diff options
Diffstat (limited to 'src')
-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); } |