summaryrefslogtreecommitdiff
path: root/src/coremods
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-08-14 00:17:03 +0100
committerPeter Powell <petpow@saberuk.com>2018-08-14 00:18:13 +0100
commit10b17a0e9f948b1dd4f69c9af1f55f712664d155 (patch)
treedac8e9e5f2ec9440f44d4f96b50dd41931e65bf1 /src/coremods
parent23e29119f82a373e641b6bf9479c39149e36b1dd (diff)
Remove the OnInfo event.
This is not used by anything and On{Post,Pre}Command hooks can be used if people really want to add stuff to INFO.
Diffstat (limited to 'src/coremods')
-rw-r--r--src/coremods/core_info/cmd_info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_info/cmd_info.cpp b/src/coremods/core_info/cmd_info.cpp
index 89e92e5a8..54aa7e16e 100644
--- a/src/coremods/core_info/cmd_info.cpp
+++ b/src/coremods/core_info/cmd_info.cpp
@@ -85,7 +85,7 @@ CmdResult CommandInfo::Handle(User* user, const Params& parameters)
int i=0;
while (lines[i])
user->WriteRemoteNumeric(RPL_INFO, lines[i++]);
- FOREACH_MOD(OnInfo, (user));
+
user->WriteRemoteNumeric(RPL_ENDOFINFO, "End of /INFO list");
return CMD_SUCCESS;
}