diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |