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

Add a module log type

This commit is contained in:
Adam
2012-10-27 08:12:04 -04:00
parent bb5f4555dc
commit d6e1b92059
21 changed files with 75 additions and 59 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ class IdentifyInterface : public LDAPInterface
o = new Oper(u->nick, ot);
my_opers.insert(o);
nc->o = o;
Log() << "m_ldap_oper: Tied " << u->nick << " (" << nc->display << ") to opertype " << ot->GetName();
Log(this->owner) << "m_ldap_oper: Tied " << u->nick << " (" << nc->display << ") to opertype " << ot->GetName();
}
}
catch (const LDAPException &ex)
@@ -64,7 +64,7 @@ class IdentifyInterface : public LDAPInterface
}
nc->o = NULL;
Log() << "m_ldap_oper: Removed services operator from " << u->nick << " (" << nc->display << ")";
Log() << "Removed services operator from " << u->nick << " (" << nc->display << ")";
}
}
}
@@ -127,7 +127,7 @@ class LDAPOper : public Module
}
catch (const LDAPException &ex)
{
Log() << "m_ldapoper: " << ex.GetReason();
Log() << ex.GetReason();
}
}