From 2591562ada4cb1f866e5d1c98340fb19332b3844 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 17:52:10 +0000 Subject: Move tons more stuff into class InspIRCd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spy.cpp') diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp index faf4e431a..40be036ab 100644 --- a/src/modules/m_spy.cpp +++ b/src/modules/m_spy.cpp @@ -98,7 +98,7 @@ class cmd_spylist : public command_t user->WriteServ("321 %s Channel :Users Name",user->nick); for (chan_hash::const_iterator i = chanlist.begin(); i != chanlist.end(); i++) { - user->WriteServ("322 %s %s %d :[+%s] %s",user->nick,i->second->name,usercount(i->second),chanmodes(i->second,true),i->second->topic); + user->WriteServ("322 %s %s %d :[+%s] %s",user->nick,i->second->name,i->second->GetUserCounter(),chanmodes(i->second,true),i->second->topic); } user->WriteServ("323 %s :End of channel list.",user->nick); } -- cgit v1.2.3