1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 17:03:14 +02:00

Fix a few commands not being able to find non conf opers

This commit is contained in:
Adam
2013-12-19 20:35:09 -05:00
parent 275f2fd374
commit ab6cd3b26c
8 changed files with 53 additions and 20 deletions
+2 -2
View File
@@ -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)