diff options
author | Sadie Powell <sadie@witchery.services> | 2025-03-02 15:40:17 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-03-02 15:42:25 +0000 |
commit | 4526fbed960085e3996fcd70195887f462c430d8 (patch) | |
tree | 6016748659945b240e216675dbe70ff80aa961af /include/config.h | |
parent | f9911dde529adf3dc03f4f14bbd70756ac2f665c (diff) |
Add a helper method for getting a description of an uplink.
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index d705fd422..7d12d602d 100644 --- a/include/config.h +++ b/include/config.h @@ -144,6 +144,7 @@ namespace Configuration Uplink(const Anope::string &_host, int _port, const Anope::string &_password, int _protocol) : host(_host), port(_port), password(_password), protocol(_protocol) { } inline bool operator==(const Uplink &other) const { return host == other.host && port == other.port && password == other.password && protocol == other.protocol; } inline bool operator!=(const Uplink &other) const { return !(*this == other); } + Anope::string str() const; }; } |