diff options
| author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-31 06:15:29 +0000 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-31 06:15:29 +0000 |
| commit | aa4b3e256377030d291fc2d5f4db94985ce04395 (patch) | |
| tree | 993302c0cbe754612f69c22bbbc57d00220cabd4 /include/modules.h | |
| parent | 47504c9de5accda45a19627fd2b6ec13baa6ba95 (diff) | |
replaced the alog() command with a new type-safe and stream-based Alog()
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
| -rw-r--r-- | include/modules.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index 450c48b10..cc42f4abc 100644 --- a/include/modules.h +++ b/include/modules.h @@ -70,7 +70,7 @@ enum EventReturn } \ catch (CoreException& modexcept) \ { \ - alog("Exception caught: %s",modexcept.GetReason()); \ + Alog() << "Exception caught: " << modexcept.GetReason(); \ } \ _i = safei; \ } \ @@ -99,7 +99,7 @@ do { \ } \ catch (CoreException& modexcept) \ { \ - alog("Exception caught: %s",modexcept.GetReason()); \ + Alog() << "Exception caught: " << modexcept.GetReason(); \ } \ _i = safei; \ } \ |
