diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 12:28:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 12:28:57 +0000 |
commit | 187c9208f119904d2da292670d5858e99d1306e2 (patch) | |
tree | 6edd8d7b8dde87a46924095e9ea2f70bf75dca9b /include/modules.h | |
parent | e84bf9f3ec5a60078c32b272d3d7885c0708c544 (diff) |
Fix FOREACH_MOD macros
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4881 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/modules.h b/include/modules.h index 6142af17a..5f7815605 100644 --- a/include/modules.h +++ b/include/modules.h @@ -97,7 +97,7 @@ typedef std::map<std::string,Module*> featurelist; } \ catch (ModuleException& modexcept) \ { \ - log(DEBUG,"Module exception caught: %s",modexcept.GetReason()); \ + ServerInstance->Log(DEBUG,"Module exception caught: %s",modexcept.GetReason()); \ } \ } \ } @@ -111,7 +111,7 @@ typedef std::map<std::string,Module*> featurelist; } \ catch (ModuleException& modexcept) \ { \ - ilog(z,DEBUG,"Module exception caught: %s",modexcept.GetReason()); \ + z->Log(DEBUG,"Module exception caught: %s",modexcept.GetReason()); \ } \ } \ } @@ -134,7 +134,7 @@ typedef std::map<std::string,Module*> featurelist; } \ catch (ModuleException& modexcept) \ { \ - log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ + ServerInstance->Log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ } \ } \ } \ @@ -155,7 +155,7 @@ typedef std::map<std::string,Module*> featurelist; } \ catch (ModuleException& modexcept) \ { \ - ilog(z,DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ + z->Log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \ } \ } \ } \ |