From 1290b11508cb44d74e248860f3bfddf32efd878b Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 2 Apr 2008 18:05:25 +0000 Subject: make sure we include the right headers and fix a warning in cmode_b git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9269 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_b.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modes') diff --git a/src/modes/cmode_b.cpp b/src/modes/cmode_b.cpp index 3fb77f02f..1efb5d399 100644 --- a/src/modes/cmode_b.cpp +++ b/src/modes/cmode_b.cpp @@ -76,7 +76,7 @@ void ModeChannelBan::DisplayList(User* user, Channel* channel) /* Display the channel banlist */ for (BanList::reverse_iterator i = channel->bans.rbegin(); i != channel->bans.rend(); ++i) { - user->WriteServ("367 %s %s %s %s %ld",user->nick, channel->name, i->data, i->set_by, i->set_time); + user->WriteServ("367 %s %s %s %s %lu",user->nick, channel->name, i->data, i->set_by, (unsigned long)i->set_time); } user->WriteServ("368 %s %s :End of channel ban list",user->nick, channel->name); return; -- cgit v1.2.3