diff options
author | Adam <Adam@anope.org> | 2013-12-19 20:35:09 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-12-19 20:35:09 -0500 |
commit | ab6cd3b26caf127d1052e58e9f906d8ed5c3d986 (patch) | |
tree | 501563e7cd9b3d2c838727ce8df759ef3b08f527 /modules/commands/hs_request.cpp | |
parent | 275f2fd374a75896b356297c1d9de8b13a894d1c (diff) |
Fix a few commands not being able to find non conf opers
Diffstat (limited to 'modules/commands/hs_request.cpp')
-rw-r--r-- | modules/commands/hs_request.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/hs_request.cpp b/modules/commands/hs_request.cpp index 24e13b176..2e503b0d7 100644 --- a/modules/commands/hs_request.cpp +++ b/modules/commands/hs_request.cpp @@ -373,9 +373,9 @@ static void req_send_memos(Module *me, CommandSource &source, const Anope::strin host = vHost; if (Config->GetModule(me)->Get<bool>("memooper") && memoserv) - for (unsigned i = 0; i < Config->Opers.size(); ++i) + for (unsigned i = 0; i < Oper::opers.size(); ++i) { - Oper *o = Config->Opers[i]; + Oper *o = Oper::opers[i]; const NickAlias *na = NickAlias::Find(o->name); if (!na) |