From 2192a9f58aae466a42d60279fb34ee3c5d2950a1 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 13 Jan 2008 03:37:25 +0000 Subject: First UserManager overhaul: Move clone counts out of InspIRCd & User. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8705 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_check.cpp') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 8c1a63652..cc8c7846b 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -119,7 +119,7 @@ class CommandCheck : public Command /* * Unlike Asuka, I define a clone as coming from the same host. --w00t */ - snprintf(tmpbuf, MAXBUF, "%lu %s%s (%s@%s) %s ", i->first->GlobalCloneCount(), targchan->GetAllPrefixChars(i->first), i->first->nick, i->first->ident, i->first->dhost, i->first->fullname); + snprintf(tmpbuf, MAXBUF, "%lu %s%s (%s@%s) %s ", ServerInstance->Users->GlobalCloneCount(i->first), targchan->GetAllPrefixChars(i->first), i->first->nick, i->first->ident, i->first->dhost, i->first->fullname); user->WriteServ(checkstr + " member " + tmpbuf); } } -- cgit v1.3.1-10-gc9f91