From 74c8913f72e6d48c88a01155ef5fe5ca20cc2bb1 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 23 Dec 2006 23:06:37 +0000 Subject: Hash rehashing change git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 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 4ef628436..de48284ba 100644 --- a/src/modules/m_spy.cpp +++ b/src/modules/m_spy.cpp @@ -85,7 +85,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 = ServerInstance->chanlist.begin(); i != ServerInstance->chanlist.end(); i++) + for (chan_hash::const_iterator i = ServerInstance->chanlist->begin(); i != ServerInstance->chanlist->end(); i++) { if (pcnt && !match(i->second->name, parameters[0])) continue; -- cgit v1.3.1-10-gc9f91