diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 21:25:11 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 21:25:11 +0000 |
commit | 5afabf1b3c0f3aff6c0ed9f9dc568c5895eae417 (patch) | |
tree | 1a08adf9f5a124c2c56a5bd5633d8e8c39ac81b4 /src | |
parent | 24d7bd0a26f92c81990aa740b7c09e3722c838fe (diff) |
Fix to check for colon (accidentally typed pos_of_dot)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4148 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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("!*@*"); |