summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_nationalchars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nationalchars.cpp b/src/modules/m_nationalchars.cpp
index 98b4b5fdc..446419716 100644
--- a/src/modules/m_nationalchars.cpp
+++ b/src/modules/m_nationalchars.cpp
@@ -68,7 +68,7 @@ char utf8size(unsigned char * mb)
/* Conditions added */
bool lwbNickHandler::Call(const std::string& nick)
{
- if (nick.empty())
+ if (nick.empty() || isdigit(nick[0]))
return false;
const char* n = nick.c_str();