diff options
author | louiz’ <louiz@louiz.org> | 2016-04-25 11:29:52 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-04-27 11:03:52 +0200 |
commit | 1e56c59e8241dbfc6a2526c371cc2e894f9d0f18 (patch) | |
tree | 5f4e2de755e26e751f03e09c8ad02ebb17a31b09 /louloulibs/xmpp/adhoc_command.hpp | |
parent | 82e0cf99b0dd0ba48f31060656d03a9586b939c6 (diff) | |
download | biboumi-1e56c59e8241dbfc6a2526c371cc2e894f9d0f18.tar.gz biboumi-1e56c59e8241dbfc6a2526c371cc2e894f9d0f18.tar.bz2 biboumi-1e56c59e8241dbfc6a2526c371cc2e894f9d0f18.tar.xz biboumi-1e56c59e8241dbfc6a2526c371cc2e894f9d0f18.zip |
Include the Configure ad-hoc command on biboumi's JID for fixed_irc_server
Because a jid like “freenode.example.org” is both the JID for the configured
IRC server, and biboumi’s JID.
fix #3175
Diffstat (limited to 'louloulibs/xmpp/adhoc_command.hpp')
-rw-r--r-- | louloulibs/xmpp/adhoc_command.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/louloulibs/xmpp/adhoc_command.hpp b/louloulibs/xmpp/adhoc_command.hpp index a2e033a..1c4e4de 100644 --- a/louloulibs/xmpp/adhoc_command.hpp +++ b/louloulibs/xmpp/adhoc_command.hpp @@ -19,7 +19,11 @@ class AdhocCommand friend class AdhocSession; public: AdhocCommand(std::vector<AdhocStep>&& callback, const std::string& name, const bool admin_only); - ~AdhocCommand(); + ~AdhocCommand() = default; + AdhocCommand(const AdhocCommand&) = default; + AdhocCommand(AdhocCommand&&) = default; + AdhocCommand& operator=(AdhocCommand&&) = delete; + AdhocCommand& operator=(const AdhocCommand&) = delete; const std::string name; |