From 12e17fdf4755beca6def415f39d25722b9fe310f Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 12:50:22 +0000 Subject: So is this one ;-ppp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4887 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp index e1913496c..df52b4fee 100644 --- a/src/modules/m_spy.cpp +++ b/src/modules/m_spy.cpp @@ -90,7 +90,7 @@ class cmd_spylist : public command_t { ServerInstance->WriteOpers("*** Oper %s used SPYLIST to list +s/+p channels and keys.",user->nick); user->WriteServ("321 %s Channel :Users Name",user->nick); - for (chan_hash::const_iterator i = chanlist.begin(); i != chanlist.end(); i++) + for (chan_hash::const_iterator i = ServerInstance->chanlist.begin(); i != ServerInstance->chanlist.end(); i++) { user->WriteServ("322 %s %s %d :[+%s] %s",user->nick,i->second->name,i->second->GetUserCounter(),i->second->ChanModes(true),i->second->topic); } -- cgit v1.2.3