diff options
| author | 2013-06-12 20:32:10 +0200 | |
|---|---|---|
| committer | 2013-06-12 20:32:10 +0200 | |
| commit | cfa32a6561e0152ebbd7135eaec9f7c794c170b1 (patch) | |
| tree | 4c2d00aeee9de1014a336494b1e4ac3935f5b51b /src/modules | |
| parent | Change command name parameter of OnPostCommand to be a Command* (diff) | |
| download | inspircd++-cfa32a6561e0152ebbd7135eaec9f7c794c170b1.tar.gz inspircd++-cfa32a6561e0152ebbd7135eaec9f7c794c170b1.tar.bz2 inspircd++-cfa32a6561e0152ebbd7135eaec9f7c794c170b1.zip | |
CommandParser::LoopCall() changes
- Change function to be static, return a bool
- Do not filter duplicates when there are 2 lists (JOIN)
- Remove validation of 'extra' parameter, caller must pass either a valid index or -1
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_callerid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 9cc9aaf5e..0fffe4061 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -189,7 +189,7 @@ public: */ CmdResult Handle(const std::vector<std::string> ¶meters, User* user) { - if (ServerInstance->Parser->LoopCall(user, this, parameters, 0)) + if (CommandParser::LoopCall(user, this, parameters, 0)) return CMD_SUCCESS; /* Even if callerid mode is not set, we let them manage their ACCEPT list so that if they go +g they can * have a list already setup. */ |
