summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-08-02 21:47:21 +0200
committerlouiz’ <louiz@louiz.org>2017-08-02 22:00:28 +0200
commitcad70ba453a7877b64c0f23a4b4f34db9d1a0957 (patch)
tree4f46f3f91f13379ee1a5dadb0d7d706051d231f3
parentcd70181cb05ce668f475173ace73a1716a1edd65 (diff)
downloadbiboumi-cad70ba453a7877b64c0f23a4b4f34db9d1a0957.tar.gz
biboumi-cad70ba453a7877b64c0f23a4b4f34db9d1a0957.tar.bz2
biboumi-cad70ba453a7877b64c0f23a4b4f34db9d1a0957.tar.xz
biboumi-cad70ba453a7877b64c0f23a4b4f34db9d1a0957.zip
Re-add a removed (by mistake) pointer null check
-rw-r--r--src/xmpp/biboumi_adhoc_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_adhoc_commands.cpp b/src/xmpp/biboumi_adhoc_commands.cpp
index 60af506..65f9966 100644
--- a/src/xmpp/biboumi_adhoc_commands.cpp
+++ b/src/xmpp/biboumi_adhoc_commands.cpp
@@ -409,7 +409,7 @@ void ConfigureIrcServerStep2(XmppComponent&, AdhocSession& session, XmlNode& com
else if (field->get_tag("var") == "pass" && value)
options.col<Database::Pass>() = value->get_inner();
- else if (field->get_tag("var") == "after_connect_command")
+ else if (field->get_tag("var") == "after_connect_command" && value)
options.col<Database::AfterConnectionCommand>() = value->get_inner();
else if (field->get_tag("var") == "username" && value)