diff options
| author | 2006-12-23 23:06:37 +0000 | |
|---|---|---|
| committer | 2006-12-23 23:06:37 +0000 | |
| commit | 74c8913f72e6d48c88a01155ef5fe5ca20cc2bb1 (patch) | |
| tree | 500634864eb634a89af543a3f8b6f663543f5589 /src/cmd_list.cpp | |
| parent | Close logfile on rehash and reopen (it was only doing this on sighup for some... (diff) | |
| download | inspircd++-74c8913f72e6d48c88a01155ef5fe5ca20cc2bb1.tar.gz inspircd++-74c8913f72e6d48c88a01155ef5fe5ca20cc2bb1.tar.bz2 inspircd++-74c8913f72e6d48c88a01155ef5fe5ca20cc2bb1.zip | |
Hash rehashing change
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_list.cpp')
| -rw-r--r-- | src/cmd_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_list.cpp b/src/cmd_list.cpp index b1bb44172..920d77f34 100644 --- a/src/cmd_list.cpp +++ b/src/cmd_list.cpp @@ -31,7 +31,7 @@ CmdResult cmd_list::Handle (const char** parameters, int pcnt, userrec *user) if ((pcnt == 1) && (*parameters[0] == '<')) pcnt = 0; - 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++) { // attempt to match a glob pattern if (pcnt && !match(i->second->name, parameters[0])) |
