aboutsummaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-07-22 18:33:38 +0100
committerGravatar Sadie Powell2022-07-22 18:53:21 +0100
commit648f813f8c89e6e7d0ed5bda2c2149bee2babb09 (patch)
tree5357669e57bb381c80bfdbd24ed4057a99db8e5b /include/protocol.h
parentUpdate author list. (diff)
Switch from NULL to nullptr.
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h4
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