From 25a78272bc44ae466ebb2e60e090e07dc1fe4f88 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 13 May 2008 16:18:52 +0000 Subject: Fix the format of +p channels in /list (both in core /list and in m_safelist), thanks jrm :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9723 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands') diff --git a/src/commands/cmd_list.cpp b/src/commands/cmd_list.cpp index a8c696645..f662f7997 100644 --- a/src/commands/cmd_list.cpp +++ b/src/commands/cmd_list.cpp @@ -62,7 +62,7 @@ CmdResult CommandList::Handle (const std::vector& parameters, User bool n = (i->second->HasUser(user) || IS_OPER(user)); if (!IS_OPER(user) && (i->second->IsModeSet('p')) && (!n)) { - user->WriteNumeric(322, "%s *",user->nick); + user->WriteNumeric(322, "%s * %ld :",user->nick, users); } else { -- cgit v1.2.3