summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-04-20 10:12:00 +0200
committerlouiz’ <louiz@louiz.org>2017-04-20 10:12:00 +0200
commit5ef674c4862f1ad265e76ea6fabc20e180871243 (patch)
tree5ac2276a975be78c4a603a17adfa23c3a84e19ac /src/xmpp
parente3ee824e5c5548c13605e4f2e2ded9491c1c1479 (diff)
downloadbiboumi-5ef674c4862f1ad265e76ea6fabc20e180871243.tar.gz
biboumi-5ef674c4862f1ad265e76ea6fabc20e180871243.tar.bz2
biboumi-5ef674c4862f1ad265e76ea6fabc20e180871243.tar.xz
biboumi-5ef674c4862f1ad265e76ea6fabc20e180871243.zip
Revert "Add a linger_time configuration option on IRC servers"
This reverts commit 5d801ddcd025f68d2ec91edf0462091a32c779c1.
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/biboumi_adhoc_commands.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/xmpp/biboumi_adhoc_commands.cpp b/src/xmpp/biboumi_adhoc_commands.cpp
index 85f945d..9432697 100644
--- a/src/xmpp/biboumi_adhoc_commands.cpp
+++ b/src/xmpp/biboumi_adhoc_commands.cpp
@@ -319,16 +319,6 @@ void ConfigureIrcServerStep1(XmppComponent&, AdhocSession& session, XmlNode& com
XmlSubNode encoding_in_value(encoding_in, "value");
encoding_in_value.set_inner(options.encodingIn.value());
}
-
- XmlSubNode linger_time(x, "field");
- linger_time["var"] = "linger_time";
- linger_time["type"] = "text-single";
- linger_time["desc"] = "The number of seconds to wait before sending a QUIT command, after the last channel on that server has been left.";
- linger_time["label"] = "Linger time";
- {
- XmlSubNode linger_time_value(linger_time, "value");
- linger_time_value.set_inner(std::to_string(options.lingerTime.value()));
- }
}
void ConfigureIrcServerStep2(XmppComponent&, AdhocSession& session, XmlNode& command_node)
@@ -408,10 +398,6 @@ void ConfigureIrcServerStep2(XmppComponent&, AdhocSession& session, XmlNode& com
value && !value->get_inner().empty())
options.encodingIn = value->get_inner();
- else if (field->get_tag("var") == "linger_time" &&
- value && !value->get_inner().empty())
- options.lingerTime = value->get_inner();
-
}
options.update();