aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2018-08-09 20:44:43 +0100
committerGravatar Peter Powell2018-08-10 13:55:32 +0100
commit213e4d9680e427bc16b94c0c1b627919cacb171b (patch)
tree16f4f36d2c7e7e227af5c10a2d1b054bb7488f6e /src/users.cpp
parentSwitch m_xline_db to use the xline snomask character. (diff)
Remove the original line parameter of On{Pre,Post}Command.
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 5310c7c96..52e1f3e95 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -562,13 +562,13 @@ void LocalUser::FullConnect()
ModResult MOD_RESULT;
std::string command("LUSERS");
CommandBase::Params parameters;
- FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, this, true, command));
+ FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, this, true));
if (!MOD_RESULT)
ServerInstance->Parser.CallHandler(command, parameters, this);
MOD_RESULT = MOD_RES_PASSTHRU;
command = "MOTD";
- FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, this, true, command));
+ FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, this, true));
if (!MOD_RESULT)
ServerInstance->Parser.CallHandler(command, parameters, this);