diff options
-rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 9607a1b4c..729024861 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -577,7 +577,7 @@ void ModeParser::CleanMask(std::string &mask) if ((pos_of_pling == std::string::npos) && (pos_of_at == std::string::npos)) { /* Just a nick, or just a host */ - if ((pos_of_dot == std::string::npos) && (pos_of_dot == std::string::npos)) + if ((pos_of_dot == std::string::npos) && (pos_of_colon == std::string::npos)) { /* It has no '.' in it, it must be a nick. */ mask.append("!*@*"); |