diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-26 23:49:15 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-26 23:49:15 +0000 |
commit | 2be86e1958ca8de8aaad54f75a8d6afec59d49af (patch) | |
tree | 72bfb8ac3a4f013bf4e82cc8cdbdac6369b7946f /include/inspircd.h | |
parent | 3283fa835e592b72a8638102af99b8d572cf4c8c (diff) |
Fixed bug #404; this was caused by recieving multiple OPERTYPEs from a remote server, which eventually resulted in bad pointers inside the all_opers list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8084 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 567b172c2..c44325a02 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -28,6 +28,7 @@ #include <time.h> #include <string> #include <sstream> +#include <list> #include "inspircd_config.h" #include "uid.h" #include "users.h" @@ -440,7 +441,7 @@ class CoreExport InspIRCd : public classbase /** Oper list, a vector containing all local and remote opered users */ - std::vector<userrec*> all_opers; + std::list<userrec*> all_opers; /** Map of local ip addresses for clone counting */ |