summaryrefslogtreecommitdiff
path: root/src/modes
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-26 21:01:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-26 21:01:04 +0000
commit644c5992ca253cc90783ac1454abd1d866632cfd (patch)
tree7f33d5b4886f83c892feea092f5ff5c96f829854 /src/modes
parentd58d9fb4957168c134ae1e89005ff03154366a2a (diff)
Proper fix for end-of-list numerics on restricted lists in bug #386, rather than a hackish nonmodular one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7838 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modes')
-rw-r--r--src/modes/cmode_b.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modes/cmode_b.cpp b/src/modes/cmode_b.cpp
index e306f31f6..f82c1296b 100644
--- a/src/modes/cmode_b.cpp
+++ b/src/modes/cmode_b.cpp
@@ -85,6 +85,11 @@ void ModeChannelBan::DisplayList(userrec* user, chanrec* channel)
return;
}
+void ModeChannelBan::DisplayEmptyList(userrec* user, chanrec* channel)
+{
+ user->WriteServ("368 %s %s :End of channel ban list",user->nick, channel->name);
+}
+
std::string& ModeChannelBan::AddBan(userrec *user,std::string &dest,chanrec *chan,int status)
{
if ((!user) || (!chan))