diff options
| author | 2020-12-21 16:40:32 +0000 | |
|---|---|---|
| committer | 2020-12-21 16:40:52 +0000 | |
| commit | a63b6e16df8c2764d3d054c125239d129582d9dc (patch) | |
| tree | f31ef63e126c677bf178de90775f111b29b70071 /include/modules | |
| parent | Use unicode box drawing characters in the /MAP output. (diff) | |
| parent | Replace the SERVER stub command with something actually useful. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/cap.h | 2 | ||||
| -rw-r--r-- | include/modules/ircv3_replies.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/cap.h b/include/modules/cap.h index ebcec651f..600876374 100644 --- a/include/modules/cap.h +++ b/include/modules/cap.h @@ -319,7 +319,7 @@ namespace Cap { public: MessageBase(const std::string& subcmd) - : ClientProtocol::Message("CAP", ServerInstance->Config->ServerName) + : ClientProtocol::Message("CAP", ServerInstance->Config->GetServerName()) { PushParamPlaceholder(); PushParam(subcmd); diff --git a/include/modules/ircv3_replies.h b/include/modules/ircv3_replies.h index ae5784741..5b94a7776 100644 --- a/include/modules/ircv3_replies.h +++ b/include/modules/ircv3_replies.h @@ -90,7 +90,7 @@ class IRCv3::Replies::Reply */ void Send(LocalUser* user, Command* command, const std::string& code, const std::string& description) { - ClientProtocol::Message msg(cmd.c_str(), ServerInstance->Config->ServerName); + ClientProtocol::Message msg(cmd.c_str(), ServerInstance->Config->GetServerName()); msg.PushParamRef(command->name); msg.PushParam(code); msg.PushParam(description); @@ -101,7 +101,7 @@ class IRCv3::Replies::Reply void Send(LocalUser* user, Command* command, const std::string& code, Args&&... args, const std::string& description) { - ClientProtocol::Message msg(cmd.c_str(), ServerInstance->Config->ServerName); + ClientProtocol::Message msg(cmd.c_str(), ServerInstance->Config->GetServerName()); msg.PushParamRef(command->name); msg.PushParam(code); msg.PushParam(std::forward<Args>(args)...); |
