summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_nickserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_nickserv.cpp')
-rw-r--r--src/modules/options/optw_nickserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/options/optw_nickserv.cpp b/src/modules/options/optw_nickserv.cpp
index 92d17036..c4afaca8 100644
--- a/src/modules/options/optw_nickserv.cpp
+++ b/src/modules/options/optw_nickserv.cpp
@@ -170,7 +170,7 @@ bool KviNickServRuleEditor::validate()
return false;
}
- if(s.tqfind(TQChar(' ')) != -1)
+ if(s.find(TQChar(' ')) != -1)
{
TQMessageBox::warning(this,m,__tr2qs_ctx("The Nickname field can't contain spaces!","options"),o);
return false;