diff options
| author | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
| commit | c2ddecc2b1dbc9d055166bdf296da2e4536f74f6 (patch) | |
| tree | 9b98582630a2debab628e23d4d796885f50ada74 /modules/protocol/inspircd11.cpp | |
| parent | 73fb94c55344b6ad788c925bf13325236402891f (diff) | |
Added a new logging system
Diffstat (limited to 'modules/protocol/inspircd11.cpp')
| -rw-r--r-- | modules/protocol/inspircd11.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/protocol/inspircd11.cpp b/modules/protocol/inspircd11.cpp index 453be6965..20b347899 100644 --- a/modules/protocol/inspircd11.cpp +++ b/modules/protocol/inspircd11.cpp @@ -392,7 +392,7 @@ int anope_event_fmode(const Anope::string &source, int ac, const char **av) { newav[o] = av[n]; ++o; - Alog(LOG_DEBUG) << "Param: " << newav[o - 1]; + Log(LOG_DEBUG) << "Param: " << newav[o - 1]; } ++n; } @@ -438,7 +438,7 @@ int anope_event_fjoin(const Anope::string &source, int ac, const char **av) if (!cm) { - Alog() << "Received unknown mode prefix " << buf[0] << " in FJOIN string"; + Log() << "Received unknown mode prefix " << buf[0] << " in FJOIN string"; buf.erase(buf.begin()); continue; } @@ -451,7 +451,7 @@ int anope_event_fjoin(const Anope::string &source, int ac, const char **av) User *u = finduser(buf); if (!u) { - Alog(LOG_DEBUG) << "FJOIN for nonexistant user " << buf << " on " << c->name; + Log(LOG_DEBUG) << "FJOIN for nonexistant user " << buf << " on " << c->name; continue; } @@ -526,7 +526,7 @@ int anope_event_topic(const Anope::string &source, int ac, const char **av) if (!c) { - Alog(LOG_DEBUG) << "TOPIC " << merge_args(ac - 1, av + 1) << " for nonexistent channel " << av[0]; + Log(LOG_DEBUG) << "TOPIC " << merge_args(ac - 1, av + 1) << " for nonexistent channel " << av[0]; return MOD_CONT; } @@ -628,7 +628,7 @@ int anope_event_setname(const Anope::string &source, int ac, const char **av) u = finduser(source); if (!u) { - Alog(LOG_DEBUG) << "SETNAME for nonexistent user " << source; + Log(LOG_DEBUG) << "SETNAME for nonexistent user " << source; return MOD_CONT; } @@ -646,7 +646,7 @@ int anope_event_chgname(const Anope::string &source, int ac, const char **av) u = finduser(source); if (!u) { - Alog(LOG_DEBUG) << "FNAME for nonexistent user " << source; + Log(LOG_DEBUG) << "FNAME for nonexistent user " << source; return MOD_CONT; } @@ -664,7 +664,7 @@ int anope_event_setident(const Anope::string &source, int ac, const char **av) u = finduser(source); if (!u) { - Alog(LOG_DEBUG) << "SETIDENT for nonexistent user " << source; + Log(LOG_DEBUG) << "SETIDENT for nonexistent user " << source; return MOD_CONT; } @@ -682,7 +682,7 @@ int anope_event_chgident(const Anope::string &source, int ac, const char **av) u = finduser(av[0]); if (!u) { - Alog(LOG_DEBUG) << "CHGIDENT for nonexistent user " << av[0]; + Log(LOG_DEBUG) << "CHGIDENT for nonexistent user " << av[0]; return MOD_CONT; } @@ -700,7 +700,7 @@ int anope_event_sethost(const Anope::string &source, int ac, const char **av) u = finduser(source); if (!u) { - Alog(LOG_DEBUG) << "SETHOST for nonexistent user " << source; + Log(LOG_DEBUG) << "SETHOST for nonexistent user " << source; return MOD_CONT; } @@ -755,7 +755,7 @@ int anope_event_chghost(const Anope::string &source, int ac, const char **av) u = finduser(source); if (!u) { - Alog(LOG_DEBUG) << "FHOST for nonexistent user " << source; + Log(LOG_DEBUG) << "FHOST for nonexistent user " << source; return MOD_CONT; } |
