diff options
| author | 2022-07-22 18:33:38 +0100 | |
|---|---|---|
| committer | 2022-07-22 18:53:21 +0100 | |
| commit | 648f813f8c89e6e7d0ed5bda2c2149bee2babb09 (patch) | |
| tree | 5357669e57bb381c80bfdbd24ed4057a99db8e5b /include/protocol.h | |
| parent | Update author list. (diff) | |
Switch from NULL to nullptr.
Diffstat (limited to 'include/protocol.h')
| -rw-r--r-- | include/protocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/protocol.h b/include/protocol.h index cf6099a07..a1b597992 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -66,7 +66,7 @@ public: * and the message was sent, false if it was not found. * ENCAP (should) be used instead of creating new protocol messages for easier third party application support. */ - virtual bool SendEncapsulatedData(const std::string& targetmask, const std::string& cmd, const CommandBase::Params& params, User* source = NULL) { return false; } + virtual bool SendEncapsulatedData(const std::string& targetmask, const std::string& cmd, const CommandBase::Params& params, User* source = nullptr) { return false; } /** Send an ENCAP message to all servers. * See the protocol documentation for the purpose of ENCAP. @@ -76,7 +76,7 @@ public: * or NULL which is equivalent to the local server * @param omit If non-NULL the message won't be sent in the direction of this server, useful for forwarding messages */ - virtual void BroadcastEncap(const std::string& cmd, const CommandBase::Params& params, User* source = NULL, User* omit = NULL) { } + virtual void BroadcastEncap(const std::string& cmd, const CommandBase::Params& params, User* source = nullptr, User* omit = nullptr) { } /** Send metadata for an extensible to other linked servers. * @param ext The extensible to send metadata for |
