]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spy.cpp
Remove some debug (im on a crusade to make debug mode useful, but at the same time...
[user/henk/code/inspircd.git] / src / modules / m_spy.cpp
index 4ef628436a85cc1e5f6ecfd5af8b2b59cc642804..de48284ba64a1926242009b704fcf6dde945865d 100644 (file)
@@ -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;