summaryrefslogtreecommitdiff
path: root/src/accounthandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/accounthandler.cpp')
-rw-r--r--src/accounthandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/accounthandler.cpp b/src/accounthandler.cpp
index 90327118..389bed13 100644
--- a/src/accounthandler.cpp
+++ b/src/accounthandler.cpp
@@ -223,7 +223,7 @@ void AccountHandler::receiveMessage(NetComputer &computer, MessageIn &message)
result.writeByte(REGISTER_INVALID_EMAIL);
LOG_INFO(email << ": Email Invalid, only a@b.c format is accepted.", 1)
}
- if (stringFilter->findDoubleQuotes(email))
+ else if (stringFilter->findDoubleQuotes(email))
{
result.writeByte(REGISTER_INVALID_EMAIL);
LOG_INFO(email << ": has got double quotes in it.", 1)