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/modules/m_safelist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 358d54eda..2e0212ded 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -188,7 +188,7 @@ class ModuleSafeList : public Module bool display = (match(chan->name, ld->glob.c_str()) || (*chan->topic && match(chan->topic, ld->glob.c_str()))); if ((users) && (display)) { - int counter = snprintf(buffer, MAXBUF, "322 %s *", user->nick); + int counter = snprintf(buffer, MAXBUF, "322 %s * %ld :", user->nick, users); amount_sent += counter + ServerNameSize; user->WriteServ(std::string(buffer)); } -- cgit v1.2.3