diff options
| author | 2013-06-26 17:01:33 -0400 | |
|---|---|---|
| committer | 2013-08-04 16:08:57 +0200 | |
| commit | 8710724b5518ae9858309e548514f76e620a8459 (patch) | |
| tree | cb4efb99580cb8957353848a9dc34d5a83ab172e /src/mode.cpp | |
| parent | Merge pull request #590 from SaberUK/master+module-logging (diff) | |
Change the syntax of FOREACH macros to be less dumb.
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 8eb1020a8..3206e5638 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -475,7 +475,7 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user, else targetuser->WriteFrom(user, "MODE " + LastParse); - FOREACH_MOD(I_OnMode,OnMode(user, targetuser, targetchannel, LastParseParams, LastParseTranslate)); + FOREACH_MOD(OnMode, (user, targetuser, targetchannel, LastParseParams, LastParseTranslate)); } else if (targetchannel && parameters.size() == 2) { |
