summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-20 16:12:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-20 16:12:52 +0300
commit6073c6da086f3d1eec0fed731dc3fa5d8808fa0d (patch)
treeeb4b3ee40202a8b982de3772152643e70ebd4118 /src/gui/windows/chatwindow.cpp
parentcc939bec81af517d0e430064d872e3388116d16e (diff)
downloadmanaverse-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.tar.gz
manaverse-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.tar.bz2
manaverse-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.tar.xz
manaverse-6073c6da086f3d1eec0fed731dc3fa5d8808fa0d.zip
Add missing checks or attributes to windows.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 0ddc6e30f..e5e80e02e 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -1558,7 +1558,7 @@ bool ChatWindow::resortChatLog(std::string line,
tmpNick.find(":") != std::string::npos ||
tmpNick.find("%") != std::string::npos ||
tmpNick.find("@") != std::string::npos ||
- tmpNick.size() < 4 ||
+ tmpNick.size() < 5 ||
tmpNick[0] == '@' ||
tmpNick[0] == '/' ||
tmpNick[0] == '!'