From ab6cd3b26caf127d1052e58e9f906d8ed5c3d986 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 19 Dec 2013 20:35:09 -0500 Subject: Fix a few commands not being able to find non conf opers --- modules/commands/hs_request.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/hs_request.cpp') 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("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) -- cgit