From 5afabf1b3c0f3aff6c0ed9f9dc568c5895eae417 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 7 Jul 2006 21:25:11 +0000 Subject: 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 --- src/mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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("!*@*"); -- cgit v1.2.3