diff options
| author | 2008-06-06 15:28:24 +0000 | |
|---|---|---|
| committer | 2008-06-06 15:28:24 +0000 | |
| commit | f4445fe712ce280835674f748a8d05a361229133 (patch) | |
| tree | ea2bf913e6480d8ab13ac84407f5d4055c28f620 /src/users.cpp | |
| parent | Allow changing of command string and parameter vector within OnPreCommand, al... (diff) | |
Fix compile error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9841 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 622253113..f532b60d1 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -947,9 +947,11 @@ void User::FullConnect() /* Trigger LUSERS output, give modules a chance too */ int MOD_RESULT = 0; - FOREACH_RESULT(I_OnPreCommand, OnPreCommand("LUSERS", std::vector<std::string>(), this, true, "LUSERS")); + std::string command("LUSERS"); + std::vector<std::string> parameters; + FOREACH_RESULT(I_OnPreCommand, OnPreCommand(command, parameters, this, true, "LUSERS")); if (!MOD_RESULT) - ServerInstance->CallCommandHandler("LUSERS", std::vector<std::string>(), this); + ServerInstance->CallCommandHandler(command, parameters, this); /* * We don't set REG_ALL until triggering OnUserConnect, so some module events don't spew out stuff |
