diff options
| author | 2021-04-04 23:42:15 +0100 | |
|---|---|---|
| committer | 2021-04-04 23:42:15 +0100 | |
| commit | 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 (patch) | |
| tree | f5a81d03f572392e7547d58f979fdd488de6ff0b /include/protocol.h | |
| parent | Remove the unused ExitCodes array. (diff) | |
Fix a ton of pedantic compiler warnings.
Diffstat (limited to 'include/protocol.h')
| -rw-r--r-- | include/protocol.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/protocol.h b/include/protocol.h index 721205ba0..de5e21255 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -83,21 +83,21 @@ class CoreExport ProtocolInterface * @param key The 'key' of the data, e.g. "swhois" for swhois desc on a user * @param data The string representation of the data */ - virtual void SendMetaData(Channel* chan, const std::string& key, const std::string& data) { } + virtual void SendMetaData(const Channel* chan, const std::string& key, const std::string& data) { } /** Send metadata for a user to other linked servers. * @param user The user to send metadata for * @param key The 'key' of the data, e.g. "swhois" for swhois desc on a user * @param data The string representation of the data */ - virtual void SendMetaData(User* user, const std::string& key, const std::string& data) { } + virtual void SendMetaData(const User* user, const std::string& key, const std::string& data) { } /** Send metadata for a user to other linked servers. * @param memb The membership to send metadata for * @param key The 'key' of the data, e.g. "swhois" for swhois desc on a user * @param data The string representation of the data */ - virtual void SendMetaData(Membership* memb, const std::string& key, const std::string& data) { } + virtual void SendMetaData(const Membership* memb, const std::string& key, const std::string& data) { } /** Send metadata related to the server to other linked servers. * @param key The 'key' of the data |
